From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 04:44:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B016472 for ; Sun, 16 Dec 2012 04:44:48 +0000 (UTC) (envelope-from chavodel8x@hotmail.com) Received: from bay0-omc4-s18.bay0.hotmail.com (bay0-omc4-s18.bay0.hotmail.com [65.54.190.220]) by mx1.freebsd.org (Postfix) with ESMTP id 4B73A8FC0A for ; Sun, 16 Dec 2012 04:44:48 +0000 (UTC) Received: from BAY153-W65 ([65.54.190.200]) by bay0-omc4-s18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 15 Dec 2012 20:43:43 -0800 X-EIP: [XTQ2TGqBhzDn22UZpG5W3fkqdyqR9KSq] X-Originating-Email: [chavodel8x@hotmail.com] Message-ID: From: Jonathan P To: Subject: serial connection Date: Sat, 15 Dec 2012 22:43:43 -0600 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 16 Dec 2012 04:43:43.0580 (UTC) FILETIME=[ED6829C0:01CDDB47] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 04:44:48 -0000 hello everyone=2C i need to establish a connection between 2 freebsd system= s=2C but i have to this over a serial line=2C any advices? thank you all so= much! = From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 06:51:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E90176D for ; Sun, 16 Dec 2012 06:51:48 +0000 (UTC) (envelope-from skat@aport.ru) Received: from sovam.com (mail.email.ru [194.67.1.204]) by mx1.freebsd.org (Postfix) with ESMTP id B41318FC17 for ; Sun, 16 Dec 2012 06:51:47 +0000 (UTC) X-DSPAM-Result: Innocent X-DSPAM-Processed: Sun Dec 16 10:51:46 2012 X-DSPAM-Confidence: 0.7905 X-DSPAM-Probability: 0.0000 X-SO-Flag: NO X-Spam-Yversion: Caramba_v1.0 Received: from [178.74.119.168] (account skat@aport.ru) by mail-be04.sovam.com (CommuniGate Pro WEBUSER 5.2.20) with HTTP id 14278683 for freebsd-questions@freebsd.org; Sun, 16 Dec 2012 10:51:46 +0400 From: "Oleg simonoff" Subject: aclocal-1.12: error: 'configure.ac' To: "=?koi8-r?Q?=F2=C1=D3=D3=D9=CC=CB=C1?=" X-Mailer: CommuniGate Pro WebUser v5.2.20 Date: Sun, 16 Dec 2012 09:51:46 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain;charset=koi8-r;format="flowed" Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 06:51:48 -0000 Hi to all! Want to to ask the unix community about my problem. Don`t know what to do..... racking my brain over ... The system freeBSD 8.2 Got some trouble with compilation portupgrade-2.4.9.9,2 /usr/ports/ports-mgmt/portupgrade sudo make install ........................... ===> Configuring for ruby-1.8.7.370,1 /usr/bin/touch /opt/ports/lang/ruby18/work/ruby-1.8.7-p370/configure aclocal-1.12: error: 'configure.ac' or 'configure.in' is required *** Error code 1 Stop in /opt/ports/lang/ruby18javascript:doImageSubmit('Send'). *** Error code 1 Stop in /opt/ports/lang/ruby18. *** Error code 1 Stop in /opt/ports/ports-mgmt/portupgrade. *** Error code 1 Stop in /opt/ports/ports-mgmt/portupgrade. But that ruby was installd correctly. Please, let me know, what mast i do? Not found something about that in google...... From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 07:13:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D20D9B63 for ; Sun, 16 Dec 2012 07:13:59 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8431C8FC0A for ; Sun, 16 Dec 2012 07:13:58 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tk8QL-0002Jf-5C for freebsd-questions@freebsd.org; Sun, 16 Dec 2012 08:14:09 +0100 Received: from pool-173-79-84-117.washdc.fios.verizon.net ([173.79.84.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Dec 2012 08:14:09 +0100 Received: from nightrecon by pool-173-79-84-117.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Dec 2012 08:14:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: aclocal-1.12: error: 'configure.ac' Date: Sun, 16 Dec 2012 02:13:52 -0500 Lines: 38 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-84-117.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 07:14:00 -0000 Oleg simonoff wrote: > Hi to all! > Want to to ask the unix community about my problem. Don`t know what > to do..... > racking my brain over ... > The system freeBSD 8.2 > Got some trouble with compilation portupgrade-2.4.9.9,2 > > /usr/ports/ports-mgmt/portupgrade sudo make install > ........................... > ===> Configuring for ruby-1.8.7.370,1 > /usr/bin/touch /opt/ports/lang/ruby18/work/ruby-1.8.7-p370/configure > aclocal-1.12: error: 'configure.ac' or 'configure.in' is required > *** Error code 1 > > Stop in /opt/ports/lang/ruby18javascript:doImageSubmit('Send'). > *** Error code 1 > > Stop in /opt/ports/lang/ruby18. > *** Error code 1 > > Stop in /opt/ports/ports-mgmt/portupgrade. > *** Error code 1 > > Stop in /opt/ports/ports-mgmt/portupgrade. ^^^^^^ Don't know if this matters, never tried it that way - this is FreeBSD, not Linux. FreeBSD is not some kind of Linux. With that said, the ports tree usually lives under /usr/ports. No idea why it would show up under /opt, except as some carry over Linuxism. You probably need to wipe the Linuxism and start over as a FreeBSD user. -Mike From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 07:46:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E2D5F214 for ; Sun, 16 Dec 2012 07:46:39 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 65FB98FC12 for ; Sun, 16 Dec 2012 07:46:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 09D6C5E1E6; Sun, 16 Dec 2012 08:46:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -1.995 X-Spam-Level: X-Spam-Status: No, score=-1.995 tagged_above=-999 required=5 tests=[AWL=-0.092, BAYES_00=-2.599, RDNS_NONE=0.1, SPF_SOFTFAIL=0.596] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tjRKwWgbo4uR; Sun, 16 Dec 2012 08:46:29 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from [172.17.0.111] (unknown [195.216.53.111]) by mx1.bjare.net (Postfix) with ESMTP id 639015E1B2; Sun, 16 Dec 2012 08:46:29 +0100 (CET) Message-ID: <50CD7C56.1000303@eskk.nu> Date: Sun, 16 Dec 2012 08:46:30 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Damien Fleuriot Subject: Re: Anyone using squid and pf? References: <50B0EA28.7060904@eskk.nu> <50B338B2.3090600@gmail.com> <50B3B788.6040801@eskk.nu> <50B3D603.6050904@gmail.com> <50B52A1A.6070103@eskk.nu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd questions list X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 07:46:39 -0000 Damien Fleuriot skrev 2012-11-29 00:28: > > > # 1/ redirect web traffic to the proxy $proxy on port $proxyport > rdr in on $int_if inet proto tcp from !$proxy to any port 80 -> $proxy > port $proxyport tag rdr_proxy > > # 2/ redirect FTP traffic to the ftp-proxy running on the local > machine on port 8021 > rdr in on $int_if inet proto tcp from $int_if:network to any port 21 > -> 127.0.0.1 port 8021 tag rdr_ftp > > # 3/ access rule to allow traffic from the local net to your proxy > pass in quick on $int_if inet proto tcp flags S/SAFR tagged rdr_proxy > > # 4/ access rule to allow traffic from the local net to your FTP proxy > pass in quick on $int_if inet proto tcp flags S/SAFR tagged rdr_ftp > > # 5/ access rule to allow your proxy to do whatever it wants in a very > limited fashion > pass in quick on $int_if inet proto tcp from $proxy to any port { 80 > 443 } flags S/SAFR > > Hello Damien I'm concentrating on getting the web traffic to work first. I've changed rule #1 as you can see below but pf returns a syntax error. # redirect www trafic to proxy rdr in on $int_if inet proto tcp from !$proxy to any port $proxy_services -> $proxy $proxyport tag rdr_proxy My variables are: proxy = "172.18.0.1" proxy_services = "{ 21, 80 }" proxyport="8080" Am I supposed to ad rule #5 as well or is it a suggestion? Thanks /Leslie From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 09:32:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F6395B3 for ; Sun, 16 Dec 2012 09:32:07 +0000 (UTC) (envelope-from ateve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id EFCDB8FC1A for ; Sun, 16 Dec 2012 09:32:06 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1Tk9wm-0005GQ-UL for freebsd-questions@freebsd.org; Sun, 16 Dec 2012 08:51:45 +0000 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1Tk9w9-000GF1-0B for freebsd-questions@freebsd.org; Sun, 16 Dec 2012 08:51:05 +0000 Date: Sun, 16 Dec 2012 08:51:00 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: serial connection Message-Id: <20121216085100.880223ae0dcac5729b9bb484@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 09:32:07 -0000 On Sat, 15 Dec 2012 22:43:43 -0600 Jonathan P wrote: > hello everyone, i need to establish a connection between 2 freebsd > systems, but i have to this over a serial line, any advices? thank you > all so much! It's been a long time - but this should help. You'll want to use ppp in dedicated mode to achieve this. Try setting it up by hand first and then move it to ppp.conf files and arrange boot time startup. On both sides specify device, speed and IP addresses then on one side use the dial command to bring up the connection. It's similar to this vpn over ssh setup with different device configuration http://www.semicomplete.com/articles/ppp-over-ssh// -- Steve O'Hara-Smith From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 09:45:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C7D58C8 for ; Sun, 16 Dec 2012 09:45:23 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 9B8DD8FC14 for ; Sun, 16 Dec 2012 09:45:22 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qBG9jCXC027671 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 16 Dec 2012 09:45:17 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qBG9jCXC027671 Authentication-Results: smtp.infracaninophile.co.uk/qBG9jCXC027671; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) Message-ID: <50CD9820.50703@FreeBSD.org> Date: Sun, 16 Dec 2012 09:45:04 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: nightrecon@hotmail.com Subject: Re: aclocal-1.12: error: 'configure.ac' References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB20DA0E140EB9879AA31A98D" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 09:45:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB20DA0E140EB9879AA31A98D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 16/12/2012 07:13, Michael Powell wrote: > With that said, the ports tree usually lives under /usr/ports. No idea = why=20 > it would show up under /opt, except as some carry over Linuxism. You=20 > probably need to wipe the Linuxism and start over as a FreeBSD user. It's unorthodox, but you should certainly be able to put the ports tree wherever in your system you want. You will need to set $PORTSDIR in the environment or in the configuration files of any ports management applications you use, but it should all work. Indeed, if you have configured everything appropriately for an alternate ports dir and something still insists on using /usr/ports, then that's a bug. Please report any such that you come across. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigB20DA0E140EB9879AA31A98D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDNmCcACgkQ8Mjk52CukIyV2QCfe79uo+tU3Pr3yDRe23gqQTxa kL0An3uVD4y0twLNXl2x9OM/2fqUTuj4 =O6eP -----END PGP SIGNATURE----- --------------enigB20DA0E140EB9879AA31A98D-- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 10:11:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2BCB3E1D for ; Sun, 16 Dec 2012 10:11:08 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id A7C7F8FC0A for ; Sun, 16 Dec 2012 10:11:07 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qBGAAx8r028083 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 16 Dec 2012 10:10:59 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qBGAAx8r028083 Authentication-Results: smtp.infracaninophile.co.uk/qBGAAx8r028083; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) Message-ID: <50CD9E32.6080208@FreeBSD.org> Date: Sun, 16 Dec 2012 10:10:58 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Oleg simonoff Subject: Re: aclocal-1.12: error: 'configure.ac' References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBA3D8D3EB48B43DFA7FB8AB8" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: =?UTF-8?B?0KDQsNGB0YHRi9C70LrQsA==?= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 10:11:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBA3D8D3EB48B43DFA7FB8AB8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 16/12/2012 06:51, Oleg simonoff wrote: > Want to to ask the unix community about my problem. Don`t know what to= > do..... > racking my brain over ... > The system freeBSD 8.2 > Got some trouble with compilation portupgrade-2.4.9.9,2 >=20 > /usr/ports/ports-mgmt/portupgrade sudo make install > ........................... > =3D=3D=3D> Configuring for ruby-1.8.7.370,1 > /usr/bin/touch /opt/ports/lang/ruby18/work/ruby-1.8.7-p370/configure > aclocal-1.12: error: 'configure.ac' or 'configure.in' is required > *** Error code 1 >=20 > Stop in /opt/ports/lang/ruby18javascript:doImageSubmit('Send'). > *** Error code 1 >=20 > Stop in /opt/ports/lang/ruby18. > *** Error code 1 >=20 > Stop in /opt/ports/ports-mgmt/portupgrade. > *** Error code 1 >=20 > Stop in /opt/ports/ports-mgmt/portupgrade. >=20 > But that ruby was installd correctly. > Please, let me know, what mast i do? Not found something about that in= > google...... So, you're saying ruby18 is already installed, but when you attempt to install portupgrade it tries to reinstall it? Given you have the ports in an odd location, might I ask where exctly is ruby installed? The ports expects to find other ported software in subdirectories under ${LOCALBASE} -- which is almost always just the default value /usr/local [*]. If the ruby18 binary isn't available as ${LOCALBASE}/bin/ruby18 then the ports will try and reinstall it. The same goes for any other dependencies of portupgrade -- they all have to co-habit in the same tree under ${LOCALBASE} if the ports is going to find and deal with them correctly. You can't scatter them around your filesystems willy-nilly. If you're using a non-standard $LOCALBASE, then setting that in the environment should sort things out for you. Would be a very good idea to simultaneously set $PREFIX to the same value. Cheers, Matthew [*] Note that LOCALBASE (where the ports looks for previously installed dependencies) is different to PREFIX (where the ports installs software to). Generally you'ld have both set to the same location, as anything else gets very unwieldy very quickly. About the only reason to have PREFIX !=3D LOCALBASE is if you are a port maintainer testing changes to = a port, and you don't want to spam your live system with test installs. --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigBA3D8D3EB48B43DFA7FB8AB8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDNnjMACgkQ8Mjk52CukIzXmgCfU+/l6j0EGPDrAKNx2eC3gMh/ Xl8An2BaIbbm3L54cbBjzEfsxzavuAOm =H5Pp -----END PGP SIGNATURE----- --------------enigBA3D8D3EB48B43DFA7FB8AB8-- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 11:00:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 04D118D3 for ; Sun, 16 Dec 2012 11:00:58 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id B9DE78FC19 for ; Sun, 16 Dec 2012 11:00:57 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so5023772oag.13 for ; Sun, 16 Dec 2012 03:00:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=igx2CcNxOzLNFUeMoCmccanpD0QAXlgtsKDDT0q0jeM=; b=x2pVRbVL5zHgAs4P5gAhQkZ/j1b/TjlyY8X6VizJ1UVtMXX+BpQ3rjpCUGTgDCZaBG HDXIreEuiStg+AY+LFyqONga8twIfJsLofzeM7zsLdmlI/ljZwOTRtHMnTgelwXQj19y N7+rKwYTk5ZbHgbG9bXFydukKVQ15ogbKRrq1x70BbuY76VZ+79nGPr9ZXXou2mqTzl7 VS0BA9dwwnZtm2T/5IyG/44lNmCtexLYT5KpGOhfk8rBrTRx7+bwcMl38+lFfP2Qp6io NbmSkc+ghYdeP/k7japCCNAttgdp7hgDkKejT4FYe/Mh4wx6Fj9TeJKBEX8BgwNYP4os 13sA== MIME-Version: 1.0 Received: by 10.60.4.35 with SMTP id h3mr9175414oeh.123.1355655651286; Sun, 16 Dec 2012 03:00:51 -0800 (PST) Received: by 10.182.158.137 with HTTP; Sun, 16 Dec 2012 03:00:51 -0800 (PST) Date: Sun, 16 Dec 2012 06:00:51 -0500 Message-ID: Subject: switching from i386 to amd64 From: Aryeh Friedman To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 11:00:58 -0000 I have been using i386 (-STABLE) for years now and was wondering if switching to amd64 finally makes sense (i.e. are enough ports working on it now [xfrce4, firefox, libreoffice, openjdk-6, tomcat, mysql, apache22, flash, cups, devel/aegis, devel/cook, devel/fhist, virtualbox-ose, nvidia-kmod are the minimal ones I need]) the main reason for asking is PAE seems to be broken now and virtualbox-ose refuses to let me install 64 bit OS's like Win 8. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 11:35:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A8D6EAE for ; Sun, 16 Dec 2012 11:35:51 +0000 (UTC) (envelope-from jnagyjr1978@gmail.com) Received: from mail-ye0-f182.google.com (mail-ye0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id E19A58FC13 for ; Sun, 16 Dec 2012 11:35:50 +0000 (UTC) Received: by mail-ye0-f182.google.com with SMTP id q5so994642yen.13 for ; Sun, 16 Dec 2012 03:35:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=kivaeREI/ZMg8Iiw+nQbw8milyB1BhON2OH6fAKNpks=; b=NsBBZP3FPHop0YfpEZDxXvSPehoNVRuRgkmgLRWn4o2GDf1YClgz3V3j2f5ZYuN/Tk iJ0aje6d0WAZVCdjQN0GkDkiPzkI9xQqUCwLY9KEP90fvDz51oFFe7L8sJx+GSObT7El bGU1iwTWWTVlzlwhH02eA2ECvp953dZMB439NRn1p2jsd/2BDpUXN9Q+iNDbBQjwXne9 RQ5JdGfGZWTb3loIXHupYDtmJDXrurbBhRQBy+iI02gXCIpzu23tviAX+h67CxrrYOEo os9wlXTn+JVNUTe3VC1rq64EPesIhkAG//xUZh3T+gNWeEeoDbSgA46c5IjOO/UvWqn7 LzQg== Received: by 10.236.118.195 with SMTP id l43mr3661253yhh.58.1355657749859; Sun, 16 Dec 2012 03:35:49 -0800 (PST) Received: from [192.168.1.33] (vid-196.dhcp.grp10.tnmmrl.infoave.net. [204.116.254.196]) by mx.google.com with ESMTPS id i26sm10098108yhc.10.2012.12.16.03.35.46 (version=SSLv3 cipher=OTHER); Sun, 16 Dec 2012 03:35:49 -0800 (PST) Message-ID: <50CDB210.7000306@gmail.com> Date: Sun, 16 Dec 2012 05:35:44 -0600 From: "Joseph A. Nagy, Jr" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: switching from i386 to amd64 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 11:35:51 -0000 On 12/16/12 05:00, Aryeh Friedman wrote: > I have been using i386 (-STABLE) for years now and was wondering if > switching to amd64 finally makes sense (i.e. are enough ports working > on it now [xfrce4, firefox, libreoffice, openjdk-6, tomcat, mysql, > apache22, flash, cups, devel/aegis, devel/cook, devel/fhist, > virtualbox-ose, nvidia-kmod are the minimal ones I need]) the main > reason for asking is PAE seems to be broken now and virtualbox-ose > refuses to let me install 64 bit OS's like Win 8. I'm running amd64 and it seems rock-solid and well supported. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 11:46:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5792620C for ; Sun, 16 Dec 2012 11:46:06 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id 16C808FC12 for ; Sun, 16 Dec 2012 11:46:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=A4WcV40XOEvmGR3UbztoRrdAwkmyL5HdTJTiywVEh/U=; b=sgJ3vVsJikKTlFxLdnW+/1bdPa+rOjFgG4rZVDPbz8OYeoWuc3skFdTfy2hY8vekytujzPZ/PHdB6dMpgYNRrzI0FdKgS73Gcsj2j00PmhHhOy2MEtUY3PSynDf39jnD; Received: from [122.129.203.50] (port=11859 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1TkCfU-002nFU-03; Sun, 16 Dec 2012 04:46:05 -0700 Date: Sun, 16 Dec 2012 18:45:53 +0700 From: Erich Dollansky To: Aryeh Friedman Subject: Re: switching from i386 to amd64 Message-ID: <20121216184553.395ad596@X220.ovitrap.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 11:46:06 -0000 Hi, On Sun, 16 Dec 2012 06:00:51 -0500 Aryeh Friedman wrote: > I have been using i386 (-STABLE) for years now and was wondering if > switching to amd64 finally makes sense (i.e. are enough ports working > on it now [xfrce4, firefox, libreoffice, openjdk-6, tomcat, mysql, > apache22, flash, cups, devel/aegis, devel/cook, devel/fhist, > virtualbox-ose, nvidia-kmod are the minimal ones I need]) the main > reason for asking is PAE seems to be broken now and virtualbox-ose > refuses to let me install 64 bit OS's like Win 8. I did the switch 2010 and missed nothing but wine. Ok, flash is not realy working for me but I also do not miss it. Erich From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 11:51:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46FDF2EA for ; Sun, 16 Dec 2012 11:51:13 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm12.bullet.mail.ukl.yahoo.com (nm12.bullet.mail.ukl.yahoo.com [217.146.183.186]) by mx1.freebsd.org (Postfix) with ESMTP id 88DD28FC0A for ; Sun, 16 Dec 2012 11:51:12 +0000 (UTC) Received: from [217.12.10.83] by nm12.bullet.mail.ukl.yahoo.com with NNFMP; 16 Dec 2012 11:48:40 -0000 Received: from [77.238.184.61] by tm17.bullet.mail.ukl.yahoo.com with NNFMP; 16 Dec 2012 11:48:40 -0000 Received: from [127.0.0.1] by smtp130.mail.ukl.yahoo.com with NNFMP; 16 Dec 2012 11:48:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1355658520; bh=vwpe1pZhc/Mwng6cZMKk+GYzuyspi2owNv0tN8CZ2Ew=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=MgSHoUVL7rBaAr9YX76zjM2g98NFdZ1Sysq4JTlee02Od0klWmDOuXEYdcvbCR+Cc1Kb7nKdZKxWebb+zS0D9IxeH7DPj7OzoVQp0V55PpwFe5Sq0FQ1Y5Zl0hhcsKXqXzExLmd9qfe1U2PiMF32T1q15WD8ABL/GQmLMBD7loM= X-Yahoo-Newman-Id: 737573.13593.bm@smtp130.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: EFoRL0gVM1kJtTdJCWoXSwL.IzV2S4t8Fb_G_hRRHztW8Z0 9gWUlVjQk1Kw3WnVTnS3RAfBEjIS6rdSgqv4Me0fRWZrfXlmJzsdrurmsR3H Yu88fSupNVpbDEdVU.4v6XKuFVfk0.GoyrYXeiBlBgC2.tCThS.zLar6qU7P jFqvpcLwDhYuzSikDPjqPZSvu3ghgYyGErgUK0_AMKTKYY7.z1acei9JGFxf coIZ0zHXW2PhQaB08qJS2j0aRpJKvTQYqAjvc9_nQrnlwjaDT.YhUpRIdqyB 2rOAedOBS.2Kpx1utBf6fZN16loUAqYHl0Ms5Hn.nPFFev1uNqFMjyNb5P7R s6.dFJib_R7cR.sP2wlMnHok_YOhaP7Rlk2FrNKvjFtLunR0HyKi4Xdmy5LD HxjrLZtnokuy8HJJpbZM6OZaTdGONLEClIDnsE4E- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.16.242] (ralf.mardorf@85.182.16.242 with login) by smtp130.mail.ukl.yahoo.com with SMTP; 16 Dec 2012 11:48:40 +0000 GMT Message-ID: <1355658520.8256.10.camel@q> Subject: Re: switching from i386 to amd64 From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Sun, 16 Dec 2012 12:48:40 +0100 In-Reply-To: <50CDB210.7000306@gmail.com> References: <50CDB210.7000306@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 11:51:13 -0000 On Sun, 2012-12-16 at 05:35 -0600, Joseph A. Nagy, Jr wrote: > I'm running amd64 and it seems rock-solid and well supported. I had a similar question. I wanted to know if there are issues for audio, when using 64 bit and got this reply: "If you do not have a _specific_ requirement for 32 bit, use 64 bit, of course if you have a 64 bit CPU. :-) Specific requirements _could_ be wine and nVidia's proprietary GPU driver, as far as I know." - Polytropon (Btw. thank you Polytropon :) I guess in the web I read something about issues with VBox, but perhaps I'm confusing VBox with wine. I chose 64 bit and will stay with it, even if I should install another version of FreeBSD today. Regards, Ralf From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 12:05:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B8F0B51 for ; Sun, 16 Dec 2012 12:05:50 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm22-vm7.bullet.mail.ird.yahoo.com (nm22-vm7.bullet.mail.ird.yahoo.com [212.82.109.226]) by mx1.freebsd.org (Postfix) with ESMTP id 4AEA78FC19 for ; Sun, 16 Dec 2012 12:05:48 +0000 (UTC) Received: from [77.238.189.233] by nm22.bullet.mail.ird.yahoo.com with NNFMP; 16 Dec 2012 12:05:47 -0000 Received: from [217.146.189.100] by tm14.bullet.mail.ird.yahoo.com with NNFMP; 16 Dec 2012 12:05:47 -0000 Received: from [127.0.0.1] by smtp116.mail.ird.yahoo.com with NNFMP; 16 Dec 2012 12:05:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1355659547; bh=e1a2bumaCSZJBOrqKqoq1qJrxsyk4wgl9LRr1CMCmvA=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=hNQYXxKmrg3XupIe3v/WS9cGt2fn2A6djCLeGrL7AUAGy7QosYhYm68hau3vRo2hX32hX6M+ncJDzU4DI4X1tF/vQXVG2PaRAXjws3CLU4TItHh2kY+F7hsCrLOnRFctWDW92xkFdsri68oZKb+37W+oTS4xCrpVVHjFCDiw4/U= X-Yahoo-Newman-Id: 771558.60085.bm@smtp116.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: KBFcxgwVM1mZNTHYZFJnFwftWivP6sXvxFr8QmeMyopHVKC r4.lUYH0ZyFWRAdyA1omFHHv2k8jsZ3wo_oIsvQYtgroxyVfLsgTKFYrX0Kg tkqlg7VsU_7AEpOLtCs4wo0wlLSbfGhepdck3b5f2V5MUTaqBUaYfQHY5WhB objmQ4Qc7U1x2ZUwZoz24V8eopjlEKbT1wFlYR.VkoYekT7kN0fT.e9y42CT bYCqYVLMPyueMqR7_KbZRJFirGlWAdJloLOp7CQGJufcQwfxVapsonJ88DKU Fd4kMzcqCf9j3.UhtFY7oc3jNBbzp_C0Ms4yMFq.G8at_cIMp8abYJ2OXZ4s WuoWJB7ZJtLW9ljh2MC1vx8ZE1Xy6_tj_27XFnXFZq_WV34Ce7YM32FbYdWD ReNjgle7wdRSHTfNF4sTeUIrC6XEJKwVlk3jjbn4- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.16.242] (ralf.mardorf@85.182.16.242 with login) by smtp116.mail.ird.yahoo.com with SMTP; 16 Dec 2012 04:05:47 -0800 PST Message-ID: <1355659547.8256.23.camel@q> Subject: Re: switching from i386 to amd64 From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Sun, 16 Dec 2012 13:05:47 +0100 In-Reply-To: <20121216184553.395ad596@X220.ovitrap.com> References: <20121216184553.395ad596@X220.ovitrap.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 12:05:50 -0000 On Sun, 2012-12-16 at 18:45 +0700, Erich Dollansky wrote: > flash For Linux there are no issues with the proprietary 64 bit flash, but there will be no new versions of Flash any more for Linux. If FreeBSD should use the Linux version, than Flash in the near future either way won't work any more. IIRC Flash only is needed by some browsers and only for videos that e.g. start with an advertising and special tasks like that. I'm not sure, but AFAIR HTML 5 can replace Flash, assumed a video doesn't start with an advertising and things like that. For Linux Adobe will continue providing security upgrades for 11.2 in the future, but that won't help, when websites expect newer versions. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 14:08:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6315E24C for ; Sun, 16 Dec 2012 14:08:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 06BA08FC14 for ; Sun, 16 Dec 2012 14:08:39 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx01.qsc.de (Postfix) with ESMTP id 047013CB6B; Sun, 16 Dec 2012 15:08:37 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBGE8dVs001945; Sun, 16 Dec 2012 15:08:39 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 16 Dec 2012 15:08:39 +0100 From: Polytropon To: Ralf Mardorf Subject: Re: switching from i386 to amd64 Message-Id: <20121216150839.60e9379c.freebsd@edvax.de> In-Reply-To: <1355659547.8256.23.camel@q> References: <20121216184553.395ad596@X220.ovitrap.com> <1355659547.8256.23.camel@q> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 14:08:40 -0000 On Sun, 16 Dec 2012 13:05:47 +0100, Ralf Mardorf wrote: > On Sun, 2012-12-16 at 18:45 +0700, Erich Dollansky wrote: > > flash > > For Linux there are no issues with the proprietary 64 bit flash, but > there will be no new versions of Flash any more for Linux. If FreeBSD > should use the Linux version, than Flash in the near future either way > won't work any more. That shouldn't be _that_ complicated, as "Flash" is going to be extinct soon (primarily to the lack of it on mobile devices with their growing "market share"). HTML5 will take over the world instead. :-) > IIRC Flash only is needed by some browsers and only > for videos that e.g. start with an advertising and special tasks like > that. Oh, if it would be that simple... :-( Sadly, for some developers, "Flash" has gotten a replacement for HTML. They design their whole pages _inside_ "Flash", so if you don't have it installed, you get an empty page. Their excuse is "interactivity". Still more and more online games (those you can play in the web browser) migrate to HTML 5 technology which offers good support on many platforms (and not only on the latest "Windows"). And if you're using Firefox, there are plugins available that allow you to download video content instead of dealing with the "Flash" player the site wants you to use. This also encourages the idea of wathcing such content offline with your favourite player, which is mplayer. :-) > I'm not sure, but AFAIR HTML 5 can replace Flash, assumed a video > doesn't start with an advertising and things like that. It already does this in more and more locations. Regarding video, there's still the problem created by patent lawyers and other strange guys: the coded. HTML 5 can support many formats for video content, even free formats (that do not require anyone to pay royalties in order to use it), but in how far those are already distributed among browsers and systems, that's a totally different question. However, the "out of the box experience" gets better. Soon the functionality of "Flash" will be integrated per default in modern web browsers. Just imagine how stupid it would be if I created a web page that requires you to download a proprietary plugin (with lots of security holes!) in order to see a PNG image, to see text in green color, or to render text centered. Sounds idiotic? It is! And it's mostly what applies to "Flash". :-) > For Linux Adobe will continue providing security upgrades for 11.2 in > the future, but that won't help, when websites expect newer versions. Correct, so this is another good reason for finally dropping "Flash" and move on to better alternatives. Side note: I've been experiencing working "Flash" for many years now without any trouble on FreeBSD. Sometimes I wish it wouldn't work anymore. It makes the web much more readable. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 14:16:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93E909A3 for ; Sun, 16 Dec 2012 14:16:57 +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 5027A8FC0C for ; Sun, 16 Dec 2012 14:16:56 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx01.qsc.de (Postfix) with ESMTP id 38EEC3CB85; Sun, 16 Dec 2012 15:16:56 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBGEGwlc001996; Sun, 16 Dec 2012 15:16:58 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 16 Dec 2012 15:16:58 +0100 From: Polytropon To: nightrecon@hotmail.com Subject: Re: aclocal-1.12: error: 'configure.ac' Message-Id: <20121216151658.4413edd0.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 14:16:57 -0000 On Sun, 16 Dec 2012 02:13:52 -0500, Michael Powell wrote: > Oleg simonoff wrote: > > > Hi to all! > > Want to to ask the unix community about my problem. Don`t know what > > to do..... > > racking my brain over ... > > The system freeBSD 8.2 > > Got some trouble with compilation portupgrade-2.4.9.9,2 > > > > /usr/ports/ports-mgmt/portupgrade sudo make install > > ........................... > > ===> Configuring for ruby-1.8.7.370,1 > > /usr/bin/touch /opt/ports/lang/ruby18/work/ruby-1.8.7-p370/configure > > aclocal-1.12: error: 'configure.ac' or 'configure.in' is required > > *** Error code 1 > > > > Stop in /opt/ports/lang/ruby18javascript:doImageSubmit('Send'). > > *** Error code 1 > > > > Stop in /opt/ports/lang/ruby18. > > *** Error code 1 > > > > Stop in /opt/ports/ports-mgmt/portupgrade. > > *** Error code 1 > > > > Stop in /opt/ports/ports-mgmt/portupgrade. > ^^^^^^ > > Don't know if this matters, never tried it that way - this is FreeBSD, not > Linux. FreeBSD is not some kind of Linux. With setting $PORTSDIR it should be possible to have a valid (!) ports tree in any location you want. See "man 7 ports" for details. > With that said, the ports tree usually lives under /usr/ports. No idea why > it would show up under /opt, except as some carry over Linuxism. Probably you aren't old enough to remember that /opt is not a Linuxism, but a Solarism, Solarisism. It expresses the optimistic attitude that the content of this subtree will work as expected. :-) > You > probably need to wipe the Linuxism and start over as a FreeBSD user. There's nothing wrong with /opt, but I've never found it would be a good place to put the ports tree in. I'm (ab)using /opt myself for software that I manage outside of the ports tree, completely manually: it's basically scripts in /opt/bin, some specific printer filters in /opt/libexec (called by printcap), and few "self-contained" subtrees of non-ports stuff. In this way, it does not touch the main system. However, having the complete (!) ports in /usr/ports should avoid trouble. What's confusing here is the fact that the OP seems to have a "mixed" installation. The prompt reads: > > /usr/ports/ports-mgmt/portupgrade sudo make install But the error messages say: > > /usr/bin/touch /opt/ports/lang/ruby18/work/ruby-1.8.7-p370/configure So there seems to be both /usr/ports and /opt/ports... ??? But finally: > > Stop in /opt/ports/ports-mgmt/portupgrade. Is there some symlinking issue opt<->usr? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 14:49:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6CC532C for ; Sun, 16 Dec 2012 14:49:00 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward8.mail.yandex.net (forward8.mail.yandex.net [IPv6:2a02:6b8:0:202::3]) by mx1.freebsd.org (Postfix) with ESMTP id 3FF098FC0C for ; Sun, 16 Dec 2012 14:49:00 +0000 (UTC) Received: from smtp7.mail.yandex.net (smtp7.mail.yandex.net [77.88.61.55]) by forward8.mail.yandex.net (Yandex) with ESMTP id E4B74F6034B; Sun, 16 Dec 2012 18:48:28 +0400 (MSK) Received: from smtp7.mail.yandex.net (localhost [127.0.0.1]) by smtp7.mail.yandex.net (Yandex) with ESMTP id AB4311580257; Sun, 16 Dec 2012 18:48:28 +0400 (MSK) Received: from unknown (unknown [77.93.52.20]) by smtp7.mail.yandex.net (nwsmtp/Yandex) with ESMTP id mS5SAFKI-mS5G3aaQ; Sun, 16 Dec 2012 18:48:28 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1355669308; bh=3Q3OAQGyL+vqIhQ+xsxwWVexom2h1P45tuX0tRJUYPE=; h=Date:From:X-Mailer:Reply-To:Organization:X-Priority:Message-ID:To: CC:Subject:In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; b=TJctK7MNIKE/zU2olriJAWidHcixgGpQNRfhdgB1knBc9j3+LEVw8ARmp/NqkdBXF N/e7nZFWbTowhlNblegPeqhA8nl1ABxc/ZW23UAFcl6t/u7itsBSuiuJGEk4kxwXzc Q1RD7P/PUBSr92UcwKFLBlKN5+EquyYKHdwBGF4Y= Date: Sun, 16 Dec 2012 16:48:27 +0200 From: Eugen Konkov X-Mailer: The Bat! (v4.0.24) Professional Organization: ISP FreeLine X-Priority: 3 (Normal) Message-ID: <15010623798.20121216164827@yandex.ru> To: "Fajar A. Nugraha" Subject: Re[4]: can not build FreeRadius 2.2.0 In-Reply-To: References: <50CC4860.6000202@cernovice.net> <125396501.20121215163745@yandex.ru> <50CCAE97.9060909@deployingradius.com> <175741802.20121215222141@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: FreeBSD Questions , FreeRadius users mailing list X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Eugen Konkov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 14:49:00 -0000 Здравствуйте, Fajar. Вы писали 16 декабря 2012 г., 14:28:34: FAN> On Sun, Dec 16, 2012 at 3:21 AM, Eugen Konkov wrote: >> AD> Eugen Konkov wrote: >>>> Building freeradiusd on >>>> # uname -a >>>> FreeBSD aki 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Wed Jun 13 13:46:00 EEST 2012 adm@aki:/usr/obj/usr/src/sys/AKI i386 >>>>from /usr/ports/net/freeradius2 (2.2.0 version) >>>> cause error: >>>> /usr/bin/ld: attempted static link of dynamic object `/usr/local/lib/libgdbm.so' >> >> AlanD> >> AD> Don't do "./configure --disable-shared" >> >> I do same as on FreeBSD 9: >> cd /usr/ports/net/freeradius2 >> make install clean FAN> Are you interested in FIXING your problem, or are you interested in FAN> saying "I'm not doing anything wrong, freebsd ports are perfect, so it FAN> must be that your software is broken"? FAN> If it's the FIRST one, the configure FR manually (i.e. by NOT using FAN> freebsd ports), and follow Allan's advice: FAN> - if that works, file a bug report to freebsd (or whoever is managing FAN> FR ports) that they messed up the recipe FAN> - If DOESN'T work, paste your configure line as well the make output here. FAN> Now if it's the SECOND one, you better ask in freebsd's list. It's FAN> VERY unlikely that you'd get anymore help here, seeing that you FAN> snubbed the help you already got. I do not expect you will help me. I just submit a problem report. In any case thank you very much for your answers. and for the clue/advice. I will try to build by hand and send PR to freebsd ports also. -- С уважением, Eugen mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 16:29:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48F203C5 for ; Sun, 16 Dec 2012 16:29:21 +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 00D8A8FC15 for ; Sun, 16 Dec 2012 16:29:20 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id qBGGTEC6002741; Sun, 16 Dec 2012 09:29:14 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id qBGGTDF2002738; Sun, 16 Dec 2012 09:29:14 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 16 Dec 2012 09:29:13 -0700 (MST) From: Warren Block To: Ralf Mardorf Subject: Re: switching from i386 to amd64 In-Reply-To: <1355658520.8256.10.camel@q> Message-ID: References: <50CDB210.7000306@gmail.com> <1355658520.8256.10.camel@q> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 16 Dec 2012 09:29:14 -0700 (MST) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 16:29:21 -0000 On Sun, 16 Dec 2012, Ralf Mardorf wrote: > On Sun, 2012-12-16 at 05:35 -0600, Joseph A. Nagy, Jr wrote: >> I'm running amd64 and it seems rock-solid and well supported. > > I had a similar question. I wanted to know if there are issues for > audio, when using 64 bit and got this reply: > > "If you do not have a _specific_ requirement for 32 bit, use 64 bit, of > course if you have a 64 bit CPU. :-) > > Specific requirements _could_ be wine and nVidia's proprietary GPU > driver, as far as I know." - Polytropon (Btw. thank you Polytropon :) > > I guess in the web I read something about issues with VBox, but perhaps > I'm confusing VBox with wine. I chose 64 bit and will stay with it, even > if I should install another version of FreeBSD today. VirtualBox works well with both i386 and amd64 hosts and guests. Of course, with an amd64 host there can be more RAM to share between host and VMs. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 16:36:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5FE6A64B for ; Sun, 16 Dec 2012 16:36:20 +0000 (UTC) (envelope-from ateve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id 153B68FC15 for ; Sun, 16 Dec 2012 16:36:19 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1TkHCy-0008Fn-BN for freebsd-questions@freebsd.org; Sun, 16 Dec 2012 16:36:56 +0000 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1TkHCK-000I22-CC for freebsd-questions@freebsd.org; Sun, 16 Dec 2012 16:36:16 +0000 Date: Sun, 16 Dec 2012 16:36:12 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: switching from i386 to amd64 Message-Id: <20121216163612.949e12748aa670e3420455b3@sohara.org> In-Reply-To: <1355658520.8256.10.camel@q> References: <50CDB210.7000306@gmail.com> <1355658520.8256.10.camel@q> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 16:36:20 -0000 On Sun, 16 Dec 2012 12:48:40 +0100 Ralf Mardorf wrote: > Specific requirements _could_ be wine and nVidia's proprietary GPU > driver, as far as I know." - Polytropon (Btw. thank you Polytropon :) I'm using amd64 on an Atom/ION box here, the Nvidia binary drivers work fine for both openGL and the vdpau stuff. Virtualbox worked fine too, but this Atom doesn't have hardware virtualisation support so it's a bit sluggish. I've not tried (or wanted) Wine in years. -- Steve O'Hara-Smith From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 17:23:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 33D9BFE9 for ; Sun, 16 Dec 2012 17:23:02 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from blu0-omc4-s21.blu0.hotmail.com (blu0-omc4-s21.blu0.hotmail.com [65.55.111.160]) by mx1.freebsd.org (Postfix) with ESMTP id DC2A18FC0C for ; Sun, 16 Dec 2012 17:23:01 +0000 (UTC) Received: from BLU0-SMTP115 ([65.55.111.135]) by blu0-omc4-s21.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 16 Dec 2012 09:21:54 -0800 X-EIP: [taXlBajoBt2E5o2EhJIugmrGZN8yhzmF] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Received: from [127.0.0.1] ([121.245.133.177]) by BLU0-SMTP115.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 16 Dec 2012 09:21:51 -0800 Date: Sun, 16 Dec 2012 22:52:05 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Question on how do I tell make to choose between static and shared versions of a library References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Dec 2012 17:21:52.0297 (UTC) FILETIME=[D6CB8990:01CDDBB1] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 17:23:02 -0000 Hello All, This is not a question strictly on FreeBSD. But since freebsd-questions is a lot quicker with its dependable responses, I decided to post my question here. Under /lib I have both versions - shared (libxyz.so.1) as well as static (libxyz.a) - of a library. How do I tell make to link to the static version, not the shared one ? The next obvious question is how to do the vice versa - tell make to link to the shared version, not the static one. Any help will be greatly appreciated. Thank you & -- Regards, Manish Jain bourne.identity@hotmail.com From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 17:28:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E217B2BD for ; Sun, 16 Dec 2012 17:28:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 9A3C98FC13 for ; Sun, 16 Dec 2012 17:28:40 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx02.qsc.de (Postfix) with ESMTP id 9E75D24A63; Sun, 16 Dec 2012 18:28:32 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBGHSYdG002552; Sun, 16 Dec 2012 18:28:34 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 16 Dec 2012 18:28:34 +0100 From: Polytropon To: Manish Jain Subject: Re: Question on how do I tell make to choose between static and shared versions of a library Message-Id: <20121216182834.607b9f56.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 17:28:41 -0000 On Sun, 16 Dec 2012 22:52:05 +0530, Manish Jain wrote: > Under /lib I have both versions - shared (libxyz.so.1) as well as static > (libxyz.a) - of a library. How do I tell make to link to the static > version, not the shared one ? The next obvious question is how to do the > vice versa - tell make to link to the shared version, not the static one. > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" This can be done by addressing the linker through $LDFLAGS. I think "man ld" will be helpful. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 17:43:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66416470 for ; Sun, 16 Dec 2012 17:43:00 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id E1D138FC12 for ; Sun, 16 Dec 2012 17:42:59 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qBGHgrBf035684 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 16 Dec 2012 17:42:53 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qBGHgrBf035684 Authentication-Results: smtp.infracaninophile.co.uk/qBGHgrBf035684; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) Message-ID: <50CE0816.30509@FreeBSD.org> Date: Sun, 16 Dec 2012 17:42:46 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Manish Jain Subject: Re: Question on how do I tell make to choose between static and shared versions of a library References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6484B0E92625FDCA2B387E33" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 17:43:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6484B0E92625FDCA2B387E33 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 16/12/2012 17:22, Manish Jain wrote: > Under /lib I have both versions - shared (libxyz.so.1) as well as stati= c > (libxyz.a) - of a library. How do I tell make to link to the static > version, not the shared one ? The next obvious question is how to do th= e > vice versa - tell make to link to the shared version, not the static on= e. Add -static to the ld command line to produce a staticly linked binary: this forbids ld(1) from doing any dynamic linking. Otherwise ld will default to dynamic linking, but fall back to linking staticly against libraries where there isn't a dynamic shared object available. Actually, there are about 4 different linker flags you could use that mean 'produce a staticly linked binary.' They don't have any different effect; the reason they exist is for historic compatibility with versions of ld(1) from many different sources. It's also an all-or-nothing option. If you wanted to use static linkage for one particular library out of all the libraries used by your program, then you'ld need a very different command line. But that, as they say, is left as an exercise for the student. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig6484B0E92625FDCA2B387E33 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDOCB0ACgkQ8Mjk52CukIyMqQCdHLSTBBgFhj433EJYNT8WkqKO rf4An0sh9J0flcZb2ADAFq0ulCW538Rb =3V17 -----END PGP SIGNATURE----- --------------enig6484B0E92625FDCA2B387E33-- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 18:19:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8ED9FB6 for ; Sun, 16 Dec 2012 18:19:25 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 4F0568FC18 for ; Sun, 16 Dec 2012 18:19:23 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id qBGIJHZv047633; Sun, 16 Dec 2012 18:19:17 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <50CE10A5.7070504@qeng-ho.org> Date: Sun, 16 Dec 2012 18:19:17 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Aryeh Friedman Subject: Re: switching from i386 to amd64 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 18:19:25 -0000 On 12/16/12 11:00, Aryeh Friedman wrote: > I have been using i386 (-STABLE) for years now and was wondering if > switching to amd64 finally makes sense (i.e. are enough ports working > on it now [xfrce4, firefox, libreoffice, openjdk-6, tomcat, mysql, > apache22, flash, cups, devel/aegis, devel/cook, devel/fhist, > virtualbox-ose, nvidia-kmod are the minimal ones I need]) the main > reason for asking is PAE seems to be broken now and virtualbox-ose > refuses to let me install 64 bit OS's like Win 8. I've been using amd64 since I built my current box in April 2008 (starting with 7.0-RELEASE) and have never had a problem. However, I avoid Flash like the plague it is. I recently installed an nVidia card and have no problems with the driver - the latest release dealt with the screen flash problem I had been having. As far as I understand, PAE usage has always had the caveat that certain device drivers may not work with it, and I suspect PAE support is suffering bit rot. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 19:13:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 221998DE for ; Sun, 16 Dec 2012 19:13:50 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) by mx1.freebsd.org (Postfix) with ESMTP id D8E8E8FC0A for ; Sun, 16 Dec 2012 19:13:49 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id qBGJDaHb064017; Sun, 16 Dec 2012 12:13:36 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: <50CE1D60.4040602@dreamchaser.org> Date: Sun, 16 Dec 2012 12:13:36 -0700 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121116 Thunderbird/16.0.2 MIME-Version: 1.0 To: Aryeh Friedman Subject: Re: switching from i386 to amd64 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Sun, 16 Dec 2012 12:13:37 -0700 (MST) Cc: freebsd@edvax.de, FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd@dreamchaser.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 19:13:50 -0000 On 12/16/12 04:00, Aryeh Friedman wrote: > I have been using i386 (-STABLE) for years now and was wondering if > switching to amd64 finally makes sense (i.e. are enough ports working > on it now [xfrce4, firefox, libreoffice, openjdk-6, tomcat, mysql, > apache22, flash, cups, devel/aegis, devel/cook, devel/fhist, > virtualbox-ose, nvidia-kmod are the minimal ones I need]) the main > reason for asking is PAE seems to be broken now and virtualbox-ose > refuses to let me install 64 bit OS's like Win 8. I've been using 9.0 release for about six months. xfce, firefox, thunderbird, openoffice 3.4.1, jdk (most was done prior to moving to fbsd 9.0, will be doing more) mysql, nvidia driver. had trouble using html5 from youtube -- caused weird transparent rendering issues, had to disable it. minor problems with oo which are probably generic. (Infinite loop when page had 20-40 images to run text around; not repeatable, but happens fairly frequently; scrolling causes refresh which temporarily fixes the problem). On 12/16/12 07:08, Polytropon wrote: > And if you're using Firefox, there are plugins available that > allow you to download video content instead of dealing with the > "Flash" player the site wants you to use. and the recommended one is? > Sometimes I wish it wouldn't work anymore. > It makes the web much more readable. :-) amen From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 19:26:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1980CC54; Sun, 16 Dec 2012 19:26:16 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from blu0-omc1-s22.blu0.hotmail.com (blu0-omc1-s22.blu0.hotmail.com [65.55.116.33]) by mx1.freebsd.org (Postfix) with ESMTP id BFC258FC0C; Sun, 16 Dec 2012 19:26:15 +0000 (UTC) Received: from BLU0-SMTP62 ([65.55.116.8]) by blu0-omc1-s22.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 16 Dec 2012 11:25:08 -0800 X-EIP: [QerFjvy2WPm3ABKu/5FdwEwwsR37ClHmFfYm3FCCDls=] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Received: from [127.0.0.1] ([121.245.133.177]) by BLU0-SMTP62.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 16 Dec 2012 11:25:06 -0800 Date: Mon, 17 Dec 2012 00:55:20 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: Matthew Seaman Subject: Re: Question on how do I tell make to choose between static and shared versions of a library References: <50CE0816.30509@FreeBSD.org> In-Reply-To: <50CE0816.30509@FreeBSD.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Dec 2012 19:25:07.0069 (UTC) FILETIME=[0E6C32D0:01CDDBC3] Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 19:26:16 -0000 On 16-Dec-12 23:12, Matthew Seaman wrote: > On 16/12/2012 17:22, Manish Jain wrote: >> Under /lib I have both versions - shared (libxyz.so.1) as well as static >> (libxyz.a) - of a library. How do I tell make to link to the static >> version, not the shared one ? The next obvious question is how to do the >> vice versa - tell make to link to the shared version, not the static one. > > Add -static to the ld command line to produce a staticly linked binary: > this forbids ld(1) from doing any dynamic linking. Otherwise ld will > default to dynamic linking, but fall back to linking staticly against > libraries where there isn't a dynamic shared object available. > > Actually, there are about 4 different linker flags you could use that > mean 'produce a staticly linked binary.' They don't have any different > effect; the reason they exist is for historic compatibility with > versions of ld(1) from many different sources. > > It's also an all-or-nothing option. If you wanted to use static linkage > for one particular library out of all the libraries used by your > program, then you'ld need a very different command line. But that, as > they say, is left as an exercise for the student. > > Cheers, > > Matthew > > Thanks Matthew. That saved me a lot of time, and the man page for ld (as suggested by Polytropon) is not as informative on this particular subject as your response. -- Regards, Manish Jain bourne.identity@hotmail.com From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 19:39:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD455DD2 for ; Sun, 16 Dec 2012 19:39:49 +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 6689A8FC12 for ; Sun, 16 Dec 2012 19:39:49 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx01.qsc.de (Postfix) with ESMTP id 6B4453CAA6; Sun, 16 Dec 2012 20:39:46 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBGJdm50002877; Sun, 16 Dec 2012 20:39:49 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 16 Dec 2012 20:39:48 +0100 From: Polytropon To: freebsd@dreamchaser.org Subject: Re: switching from i386 to amd64 Message-Id: <20121216203948.95f9c0f6.freebsd@edvax.de> In-Reply-To: <50CE1D60.4040602@dreamchaser.org> References: <50CE1D60.4040602@dreamchaser.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd@edvax.de, Aryeh Friedman , FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 19:39:49 -0000 On Sun, 16 Dec 2012 12:13:36 -0700, Gary Aitken wrote: > On 12/16/12 07:08, Polytropon wrote: > > > And if you're using Firefox, there are plugins available that > > allow you to download video content instead of dealing with the > > "Flash" player the site wants you to use. > > and the recommended one is? No idea, I can't use Firefox as it freezes my computer (due to a faulty GPU). I prefer using youtube-dl and get-flash-video scripts which do not rely on a browser, but work for 99% of the cases I've tried them. But as suggested, there are Firefox extensions that allow a similar functionality, but integrated with the web browser. Until later, I'm using Opera, it doesn't freeze my computer. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 19:47:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 809DDF0E for ; Sun, 16 Dec 2012 19:47:32 +0000 (UTC) (envelope-from fred@antre.fperrin.net) Received: from mail.fperrin.net (mail.fperrin.net [IPv6:2001:41d0:2:2be3::25]) by mx1.freebsd.org (Postfix) with ESMTP id 1728C8FC1F for ; Sun, 16 Dec 2012 19:47:31 +0000 (UTC) Received: from antre.fperrin.net (antre.priv.fperrin.net [IPv6:fd93:c8e5:9cb3:666::22]) by mail.fperrin.net (Postfix) with ESMTP id 84F43173 for ; Sun, 16 Dec 2012 20:47:29 +0100 (CET) Received: (from fred@localhost) by antre.fperrin.net (8.14.5/8.14.5/Submit) id qBGJlTid023219; Sun, 16 Dec 2012 20:47:29 +0100 (CET) (envelope-from fred) From: =?utf-8?Q?Fr=C3=A9d=C3=A9ric_Perrin?= To: freebsd-questions@freebsd.org Subject: Re: IPv6in4 tunnel with only one /64 prefix Organization: =?utf-8?Q?R=C3=A9seau?= des =?utf-8?B?w4lsw6h2ZXM=?= References: <86bof9yuqt.fsf@antre.fperrin.net> Date: Sun, 16 Dec 2012 20:47:29 +0100 In-Reply-To: <86bof9yuqt.fsf@antre.fperrin.net> (=?utf-8?B?IkZyw6lkw6ly?= =?utf-8?B?aWM=?= Perrin"'s message of "Wed, 07 Nov 2012 22:21:30 +0100") Message-ID: <86sj75g4oe.fsf@antre.fperrin.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 19:47:32 -0000 Following-up on myself... Of course Steve's suggestion was not what I wanted to hear, as I wanted to do stuff myself :) The take-away is that my plan works. I have a full write up in French at ; I can translate into English if people are interested. Basically, you need to tell the external interface that it is not in a /64 addres, then you can add the routes you need. There is nothing special to do on the router at the other end of the tunnel, except turning on the DHCPv6 server. I did have to setup an NDP proxy, the (quite trivial) code is at . I did hit a bug in ISC dhclient. There is a fix in the Debian bug tracker (a similar fix in Network Manager for desktop systems already made itinto their git). Le mercredi 7 =C3=A0 22:21, Fr=C3=A9d=C3=A9ric Perrin a =C3=A9crit : > Hello list, > > I have a FreeBSD server with native IPv6 connectivity. At home, my ISP > provides me with only IPv4 connectivity. In order to get IPv6 to the > home, I had the idea of creating a 6in4 tunnel between my home gateway > and my FreeBSD server. The part about creating the tunnel, routing > between the home and the server works using private addresses (fc00::/8 > over gif0). > > However, I only have one global /64 on the FreeBSD box. What can I do? > > I have the idea of subnetting the /64 into e.g. /80, route a couple of > /80s through gif to the home and use another /80 for the FreeBSD server. > However, as the router into which my FreeBSD server is connected will > expect the entire /64 to be directly connected, I will have to setup > some kind of NDP proxy for the /80 to the home. I will also lose > autoconf, but I can live with that. > > Comments, either on the plan above, or something else I haven't thought > of? --=20 Fred From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 19:57:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01FAA3B2 for ; Sun, 16 Dec 2012 19:57:46 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id A097A8FC0A for ; Sun, 16 Dec 2012 19:57:46 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TkKLP-0005qw-0x for freebsd-questions@freebsd.org; Sun, 16 Dec 2012 20:57:51 +0100 Received: from pool-173-79-84-117.washdc.fios.verizon.net ([173.79.84.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Dec 2012 20:57:51 +0100 Received: from nightrecon by pool-173-79-84-117.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Dec 2012 20:57:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: aclocal-1.12: error: 'configure.ac' Date: Sun, 16 Dec 2012 14:57:27 -0500 Lines: 77 Message-ID: References: <20121216151658.4413edd0.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-84-117.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 19:57:47 -0000 Polytropon wrote: [snip] >> > >> > Stop in /opt/ports/ports-mgmt/portupgrade. >> ^^^^^^ >> >> Don't know if this matters, never tried it that way - this is FreeBSD, >> not Linux. FreeBSD is not some kind of Linux. > > With setting $PORTSDIR it should be possible to have a valid (!) > ports tree in any location you want. See "man 7 ports" for details. > >> With that said, the ports tree usually lives under /usr/ports. No idea >> why it would show up under /opt, except as some carry over Linuxism. > > Probably you aren't old enough to remember that /opt is not > a Linuxism, but a Solarism, Solarisism. It expresses the > optimistic attitude that the content of this subtree will > work as expected. :-) lol! I'm 55 yrs old. Only tinkered with Solaris on and off briefly, never used it extensively enough for it to remain in the brain. But you're right! [snip] > There's nothing wrong with /opt, but I've never found it would > be a good place to put the ports tree in. I'm (ab)using /opt > myself for software that I manage outside of the ports tree, > completely manually: it's basically scripts in /opt/bin, some > specific printer filters in /opt/libexec (called by printcap), > and few "self-contained" subtrees of non-ports stuff. In this > way, it does not touch the main system. > > > However, having the complete (!) ports in /usr/ports should > avoid trouble. What's confusing here is the fact that the OP > seems to have a "mixed" installation. Main reason I tried to point him back to default install conditions is I can build both these ports right now on a box that is 'normal'. Having a standard default setup will also be less trouble at some future time. More maintainable. I'm a sysadmin and there isn't enough time in my day, so everywhere that I can have stuff that 'Just Works' means I can work on some other more pressing problem. > The prompt reads: > >> > /usr/ports/ports-mgmt/portupgrade sudo make install Also never had much reason to use sudo with FreeBSD. Just a small personal idiosyncrasy. > But the error messages say: > >> > /usr/bin/touch /opt/ports/lang/ruby18/work/ruby-1.8.7-p370/configure > > So there seems to be both /usr/ports and /opt/ports... ??? > > But finally: > >> > Stop in /opt/ports/ports-mgmt/portupgrade. > > Is there some symlinking issue opt<->usr? > What I was originally wondering about was the *.mk files located in /usr/ports/Mk. Getting the environment configured as per Matthew's instructions seems like what the OP needs to get right if he truly must have his ports tree in /opt. Unless there is some overriding reason why this is absolutely required, it would be far easier just to have a 'default' setup and get on with things. Just built both of these ports successfully as test. Nothing wrong here. -Mike From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 23:15:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25EE74D9 for ; Sun, 16 Dec 2012 23:15:39 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by mx1.freebsd.org (Postfix) with ESMTP id A1C848FC0C for ; Sun, 16 Dec 2012 23:15:38 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id 12so2277195wgh.31 for ; Sun, 16 Dec 2012 15:15:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=dVUmxs/SQpi93VDeUeB6JyaCZFFN8/r1aj1J2nHPotg=; b=b8URehLisNLrt0FLAlSaqW3PUwgW31SyGJ9ql/PNtWwNdxYI9xQOo37Qmf8REXBQQb zJskswtgR1VeLyvKRmhguowo7RsjgdD98wgxd6AGOXq+SuUeneeB3kVbx44N4iI/jkEE +9Q72dqtndcD+MJ8PkGLlVEQfkvX11det6WVqBYsOLSzTpC0fYiVQQmNq9/MkwGVJn7U LAPVYMUGwgzGreZAHyjo9RkHohKB4EZN+VnjVDxq98Wm7y3tNx/otJLucHeKjhn1/u5N Ft24xty/Ae/K/Q+vR5436ZVZFDg2GdmSIMvpzqDzD8LrUOBkCjmNgB8rtdaUiC4Dd/9H XGYw== X-Received: by 10.180.93.40 with SMTP id cr8mr12525826wib.15.1355699737660; Sun, 16 Dec 2012 15:15:37 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id gz3sm8769403wib.2.2012.12.16.15.15.35 (version=SSLv3 cipher=OTHER); Sun, 16 Dec 2012 15:15:36 -0800 (PST) Date: Sun, 16 Dec 2012 23:15:32 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: switching from i386 to amd64 Message-ID: <20121216231532.6dea757e@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 23:15:39 -0000 On Sun, 16 Dec 2012 06:00:51 -0500 Aryeh Friedman wrote: > I have been using i386 (-STABLE) for years now and was wondering if > switching to amd64 ... nvidia-kmod are the minimal ones I need]) the > main reason for asking is PAE seems to be broken now The last I heard the nvidia driver wasn't compatible with PAE From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 23:23:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1524870 for ; Sun, 16 Dec 2012 23:23:56 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 7116E8FC13 for ; Sun, 16 Dec 2012 23:23:56 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 040C9E65FA for ; Sun, 16 Dec 2012 23:28:43 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:subject:content-type :content-transfer-encoding; s=mail; bh=++UM+r6PRJTotJGB0s7kOLIVa s0=; b=KXNX6n9JqZXMrUWlIjQypz9dB+/89uFDFlFgD4Z2wB8uC/WLX62T1Efvd hXcpN6Xw3r0Vum4DV4dNQlOlNoGi+jbcN5T+FP6FfFkeoc4Yv8i/6jsCTN7esmHH 2Sxu7O5Nz9WXQE/pzIlhPRzUvF8cyy5q0ityaEKraavRCdeiKE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:subject:content-type :content-transfer-encoding; q=dns; s=mail; b=LGAbXHFLMmDmzOA/GOq 0wJTgF1yh2nOoTZ/z3TC3vqMBF8ubYgkMtmZUzA7FiXT+1IG0ukUyE8Ck9k+5ErE ksYWGxF/NhJRYqRIGMAOKym020iQ1JGAMG2qPLaX9F4VAKXBHg3uRV1Cm2X0aMcc yHHAnqDHg/3TB3jfvCqJe1ck= Received: from [192.168.2.33] (unknown [93.89.81.205]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id DBF1EE65D2 for ; Sun, 16 Dec 2012 23:28:42 +0000 (GMT) Message-ID: <50CE5805.7010101@cran.org.uk> Date: Sun, 16 Dec 2012 23:23:49 +0000 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Boot of 9.1 under qemu-kvm 1.3 hangs at pci probing Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 23:23:57 -0000 I'm trying to install FreeBSD 9.1 in a Proxmox KVM, using qemu-kvm 1.3, but the boot process is hanging: pbib0: matched entry for 0.1 INTA pbib0: slot 1 INTA hardwired to IRQ 9 ioapic0: Changing polarity for pin 9 to low found -> vendor=0x1013, dev=0x00b8, revid=0x00 domain=0, bus=0, slot=2, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0103, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0ns), maxlat=0x00 (0ns) [hang] Has anyone come across this before and know of any workarounds? -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 23:52:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0BAA766 for ; Sun, 16 Dec 2012 23:52:37 +0000 (UTC) (envelope-from gary.newcombe@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id ADA058FC18 for ; Sun, 16 Dec 2012 23:52:37 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi5so3192322pad.13 for ; Sun, 16 Dec 2012 15:52:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:organization:x-mailer:mime-version :content-type:content-transfer-encoding; bh=yKEBjfx9nUD8DnXl9Pu364F0TlGY9p0px1Ns9Pq8SrY=; b=cfjAVvQfmUNX7+FiuHdNgklmgHnaDEupeW20LJIBu9jehXvDSUQgVf8Ttnx1khciJM +Hb3+C8ZduRB7/zy2A+Q0ecU+S1Vr6M+sFVikXr+Lu+PHUIENs5jzSyj54g9MybqkENf 8ohbDhKTfaCdgMgDQm03Y3mQKB3Aj5GQ79yaJAbOZrSQVYwd3qO6Vs+4kDkReEjD+AMZ +A1c8KfbIT5Pd7RbmBXcjDiWR8uRfT+3ncaqt8lhvvooW+BszGHKtPcMGNMIlW8/E27S ULTgJ0XaiAeOcm5BUtmztV+IipcsJZL/3M9pg+YAcI7SITOMs/fV9SgYL5AztzxjfNMK rGtw== Received: by 10.66.78.168 with SMTP id c8mr18982684pax.16.1355701957064; Sun, 16 Dec 2012 15:52:37 -0800 (PST) Received: from elegia (60-242-254-180.static.tpgi.com.au. [60.242.254.180]) by mx.google.com with ESMTPS id oi3sm7068306pbb.1.2012.12.16.15.52.34 (version=SSLv3 cipher=OTHER); Sun, 16 Dec 2012 15:52:36 -0800 (PST) Date: Mon, 17 Dec 2012 09:52:32 +1000 From: Gary Newcombe To: freebsd-questions@freebsd.org Subject: mfiutil stating battery not present after installing battery Message-Id: <20121217095232.9aa8ca5dd663f364cc3ba5c9@gmail.com> Organization: Home X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.13; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 23:52:38 -0000 I have a ServeRAID M5014 SAS/SATA Controller in a server and have just put an M5000 Series Battery directly onto the card. I was just expecting the battery to charge and be able to see it, but no joy after a few days and a restart. As far as I am aware, the battery should just be detected. What am I missing here? The server is 8.3-RELEASE and I get: # mfiutil show adapter mfi0 Adapter: Product Name: ServeRAID M5014 SAS/SATA Controller Serial Number: SV93301447 Firmware: 12.0.1-0097 RAID Levels: JBOD, RAID0, RAID1, RAID5, RAID10, RAID50 Battery Backup: not present NVRAM: 32K Onboard Memory: 256M Minimum Stripe: 8k Maximum Stripe: 1M # mfiutil show battery mfi0: No battery present # dmesg | grep mfi mfi0: port 0x1000-0x10ff mem 0x97940000-0x97943fff,0x97900000-0x9793ffff irq 16 at device 0.0 on pci1 mfi0: Megaraid SAS driver Ver 3.00 mfi0: 21863 (408970429s/0x0020/info) - Shutdown command received from host mfi0: 21864 (boot + 3s/0x0020/info) - Firmware initialization started (PCI ID 0079/1000/03c7/1014) mfi0: 21865 (boot + 3s/0x0020/info) - Firmware version 2.0.33-0901 mfi0: 21866 (boot + 65s/0x0008/WARN) - Battery Not Present mfi0: 21867 (boot + 65s/0x0020/info) - Board Revision mfi0: 21868 (boot + 83s/0x0002/info) - Inserted: PD 08(e0xff/s8) mfi0: 21869 (boot + 83s/0x0002/info) - Inserted: PD 08(e0xff/s8) Info: enclPd=ffff, scsiType=0, portMap=00, sasAddr=5000cca00a66b335,0000000000000000 mfi0: 21870 (boot + 83s/0x0002/info) - PD 08(e0xff/s8) FRU is 42D0628 mfi0: 21871 (boot + 83s/0x0002/info) - Inserted: PD 09(e0xff/s9) mfi0: 21872 (boot + 83s/0x0002/info) - Inserted: PD 09(e0xff/s9) Info: enclPd=ffff, scsiType=0, portMap=02, sasAddr=5000cca00a6993b1,0000000000000000 mfi0: 21873 (boot + 83s/0x0002/info) - PD 09(e0xff/s9) FRU is 42D0628 mfi0: 21874 (boot + 83s/0x0002/info) - Inserted: PD 0a(e0xff/s10) mfi0: 21875 (boot + 83s/0x0002/info) - Inserted: PD 0a(e0xff/s10) Info: enclPd=ffff, scsiType=0, portMap=01, sasAddr=5000cca00a645a65,0000000000000000 mfi0: 21876 (boot + 83s/0x0002/info) - PD 0a(e0xff/s10) FRU is 42D0628 mfi0: 21877 (boot + 84s/0x0008/WARN) - BBU disabled; changing WB virtual disks to WT mfi0: [ITHREAD] mfi0: 21878 (408970578s/0x0020/info) - Time established as 12/16/12 10:56:18; (145 seconds since power on) mfid0: on mfi0 mfid0: 570296MB (1167966208 sectors) RAID volume '' is optimal Has anyone seen this sort of behaviour before or have any pointers? Thanks, Gary. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 00:05:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6E6DF14 for ; Mon, 17 Dec 2012 00:05:03 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm3.bullet.mail.ird.yahoo.com (nm3.bullet.mail.ird.yahoo.com [77.238.189.60]) by mx1.freebsd.org (Postfix) with ESMTP id 2D1488FC16 for ; Mon, 17 Dec 2012 00:05:02 +0000 (UTC) Received: from [77.238.189.50] by nm3.bullet.mail.ird.yahoo.com with NNFMP; 17 Dec 2012 00:05:01 -0000 Received: from [217.146.188.166] by tm3.bullet.mail.ird.yahoo.com with NNFMP; 17 Dec 2012 00:05:01 -0000 Received: from [127.0.0.1] by smtp134.mail.ird.yahoo.com with NNFMP; 17 Dec 2012 00:05:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1355702701; bh=B5b+T11R/K0Fednvjdg3cWN8tIhglMYI/+VnjnNLEns=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=xgp7xj1mGpYZ648DvvB7XonRo3+vw4u1+MV8GEM/7ANGKBRxE/epa17RaC9tI3kATx0UAVbR3xp4uHAlSob/WDi/B0kqW0mQ4Yr6HgY3RabvUN8YVPu0V95/jF5qbAzJ9a3Vol79KDHz32lvFoG/TkxsNoq5BV0O+5PoWnqlC3M= X-Yahoo-Newman-Id: 672864.652.bm@smtp134.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 1rrGkuQVM1nVQ0dzjTtQAakY3doj3dmSffysLcb7Jw3zCjq wgM5PXyYRjY3CvvUf68eAdxKdK1hO47BwaftTKIsUDAFEMVbf46EGHV_gdUT 33WmpADTVJVybu1zS0GipsNM0pkQmG6fAi2sTqUCoOKVz.VRawH6Rcjv8T9B Wc0ql5mQnH5FTrnrzqDmsLo7Huyr.ItGVMWOeFRT799KE.yKCvHMNH2pmaKi Cdxa4oWR6jOu7ApljU26ZcpDd7IHt4dIWcux3MD2f6hwtLbhFfAybX6X_oIG 8SBhvO77AD.QM36Zfvi7EM2H0OWIry10Qqze4HPsarsQdUJLQKcu.cfl.WfM vKclewkcOsIp7Q971j_YE6ISPBcbvDRZacGO_irMhfSGT9qogB9KJIAvk5AN J.ZF2puTahW2DW1fqGNPq6SgieiiXMby08yy2Fg-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [92.231.4.209] (ralf.mardorf@92.231.4.209 with login) by smtp134.mail.ird.yahoo.com with SMTP; 16 Dec 2012 16:05:01 -0800 PST Message-ID: <1355702700.2452.32.camel@q> Subject: Partitioning - please not that again From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Mon, 17 Dec 2012 01:05:00 +0100 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 00:05:04 -0000 Since partitioning didn't work with FreeBSD 9.0 64bit, I tried PC-BSD 8.2 64bit and partitioning worked. I had PC-BSD installed on ada0s1, this was the fstab: /dev/label/rootfs0 / ufs rw,noatime 1 1 /dev/label/swap0 none swap sw 0 0 /dev/label/var0 /var ufs rw,noatime 1 1 /dev/label/usr0 /usr ufs rw,noatime 1 1 procfs /proc procfs rw 0 0 linprocfs /compat/linux/proc linprocfs rw 0 0 Plan 9 was to delete the PC-BSD files and than to avoid partitioning, but simply to install FreeBSD on the existing slice and what ever the mounted things inside the slice are named. I startet the FreeBSD installer, chose the shell and then run: # mount -t ufs /dev/ad0s1 /mnt # cd /mnt # rm -r * # rm -r .* This does cause the issue I already had before. When I go back to the installer, for the partition editor I get: ada0 298 GB MBR ada0s1 57 GB freebsd ada0s2 240 GB EBR [snip] gpart show also doesn't display the 3 ufs and the swap any more. So I neither can install FreeBSD, nor can I restore the dumped PC-BSD. Is there no easy to use partitioning tool, comparable to e.g. Linux's gparted? How do I have to use the partition editor of the installer? :( Ralf From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 00:55:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A4F7E74 for ; Mon, 17 Dec 2012 00:55:09 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm23-vm5.bullet.mail.ukl.yahoo.com (nm23-vm5.bullet.mail.ukl.yahoo.com [217.146.176.135]) by mx1.freebsd.org (Postfix) with ESMTP id E22068FC18 for ; Mon, 17 Dec 2012 00:55:07 +0000 (UTC) Received: from [217.12.10.89] by nm23.bullet.mail.ukl.yahoo.com with NNFMP; 17 Dec 2012 00:55:01 -0000 Received: from [217.146.183.125] by tm19.bullet.mail.ukl.yahoo.com with NNFMP; 17 Dec 2012 00:55:01 -0000 Received: from [127.0.0.1] by smtp102.mail.ukl.yahoo.com with NNFMP; 17 Dec 2012 00:55:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1355705701; bh=n1HOc2mExqZLXUY69AdtPoYNe3JJdZ5xN0oaI76AlRQ=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=wHTq1bcXhZJdLdmRnJ7rXKqtGKcQ0EaH7oqYtDx6AHWKyuZRrewyv2GZhHiRwJOKmnsoi1HH7kZzRC6JkJp96cBeEQ+uprFRm0FFU7nYiw94tmxHxTfHF3JTHyGfiM/inVs+X6q+tFSTM35oH/wZNKnTi4vijE3u4tNMCH7nsEE= X-Yahoo-Newman-Id: 456720.32526.bm@smtp102.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: dgzHWLIVM1kGtdTF8bG7mAnvQsTFehX80G.51nOWkcbGZxZ IdeHGz1yTpmM96jVhosMWfduvkoT.m272QzjvogVZfohoIg.yFCDlJO_YaPb dHTH5_0IM.ZqXkmjNQXXP8cUUKUxTJdgaT_AP5OXoVwTOXOPrpN03M1O_JwP o..fk_C84dkyL4HRFERCN6Dnoa8hbr6XpG_1VQFtEhUDLQTeWuDlf8pjMWBv 0nCKDJl0sIaqU8vpJhmEDjlybNzxb_1Sy_J7QoH20dI4q1wRHAq8onwvkya. pWVD8zM9HrN31hAFXwdJaz6yOl.LFpVFi5aL9W3K88XiMjVWiUNOS5IeNEkn IKPL7of76h7FcRIVlvU1shhynHu0p46S3CrZPauVFbIoKOmO1PxzgYEPeJaA ww0R3SW9sBq5zyRMuXLMEWiTfaV_f31t6deLGTTDVE4AsghZtTynlwYXsj2S i5vL.AFvPkLidBd7rDwTkz51dxzKce5PnzVygMg368Cf2JrOjhSBeZVayc_a NLsQLUm6.NL4UZ62ykWH0zite8hyBzBL_GaU- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [92.231.4.209] (ralf.mardorf@92.231.4.209 with login) by smtp102.mail.ukl.yahoo.com with SMTP; 16 Dec 2012 16:55:01 -0800 PST Message-ID: <1355705699.3648.9.camel@q> Subject: PS: Partitioning - please not that again From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Mon, 17 Dec 2012 01:54:59 +0100 In-Reply-To: <1355702700.2452.32.camel@q> References: <1355702700.2452.32.camel@q> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 00:55:09 -0000 Screenshots from Linux's GParted: http://www.zimagez.com/zimage/screenshot-12172012-012707am.php http://www.zimagez.com/zimage/screenshot-12172012-014310am.php Perhaps somebody can exactly write the steps I have to do, to install FreeBSD on /dev/sda1. I guess a swap and / is enough, but swap, /, /usr, /var, as it was for PC-BSD is ok too. I've got 4 GB RAM, the swap I had before, was 8 GB large. Regards, Ralf From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 01:17:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE0655EE for ; Mon, 17 Dec 2012 01:17:23 +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 9AFDF8FC13 for ; Mon, 17 Dec 2012 01:17:23 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx02.qsc.de (Postfix) with ESMTP id 0611A25531; Mon, 17 Dec 2012 02:17:21 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBH1HNnn009151; Mon, 17 Dec 2012 02:17:23 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 17 Dec 2012 02:17:23 +0100 From: Polytropon To: Ralf Mardorf Subject: Re: Partitioning - please not that again Message-Id: <20121217021723.35457dbd.freebsd@edvax.de> In-Reply-To: <1355702700.2452.32.camel@q> References: <1355702700.2452.32.camel@q> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 01:17:23 -0000 On Mon, 17 Dec 2012 01:05:00 +0100, Ralf Mardorf wrote: > I startet the FreeBSD installer, chose the shell and then run: > > # mount -t ufs /dev/ad0s1 /mnt > # cd /mnt > # rm -r * > # rm -r .* That worked? I can hardly understand why /dev/ad0s1 is mountable (except it's /dev/ad0s1c, i. e. you've initialized the whole slice, but no swap then). A typical construction for FreeBSD would be at least to have /dev/ad0s1a, mounted to /, being the bootable root partition, and /dev/ad0s1b, the swap partition. Further partitions could have been created, e. g. /dev/ad0s1d for /var, and /dev/ad0s1e for /usr. > This does cause the issue I already had before. When I go back to the > installer, for the partition editor I get: > > ada0 298 GB MBR > ada0s1 57 GB freebsd > ada0s2 240 GB EBR > [snip] > > gpart show also doesn't display the 3 ufs and the swap any more. Did it previously show them? I don't know if gpart supports BSD-typical partitioning (i. e. partitions inside a slice)... Option: The partition data has been lost. Only the slice "enclosing" them has been kept. > So I neither can install FreeBSD, nor can I restore the dumped PC-BSD. > Is there no easy to use partitioning tool, comparable to e.g. Linux's > gparted? Basically, that's what ye olde installer "sysinstall" would have done. I don't use the new installer "bsdinstall" because I prefer using the CLI tools which offer more flexibility and seem to be able to deal with nonstandard constructions such as "extended DOS partitions" et al. > How do I have to use the partition editor of the installer? Usually as described in The FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-partitioning.html As it seems, the installer guide defaults to GPT; what you have (judging from the Linux construction) is MBR, but there is a slice available, and that should be sufficient. You can compare: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 01:17:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4CC9A5F0 for ; Mon, 17 Dec 2012 01:17:27 +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 093138FC14 for ; Mon, 17 Dec 2012 01:17:27 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx02.qsc.de (Postfix) with ESMTP id 533F125531; Mon, 17 Dec 2012 02:17:26 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBH1HSN8009155; Mon, 17 Dec 2012 02:17:28 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 17 Dec 2012 02:17:28 +0100 From: Polytropon To: Ralf Mardorf Subject: Re: PS: Partitioning - please not that again Message-Id: <20121217021728.0a476065.freebsd@edvax.de> In-Reply-To: <1355705699.3648.9.camel@q> References: <1355702700.2452.32.camel@q> <1355705699.3648.9.camel@q> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 01:17:27 -0000 On Mon, 17 Dec 2012 01:54:59 +0100, Ralf Mardorf wrote: > Screenshots from Linux's GParted: > http://www.zimagez.com/zimage/screenshot-12172012-012707am.php > http://www.zimagez.com/zimage/screenshot-12172012-014310am.php Judging from the screenshots, /dev/sda1 = /dev/ad0s1, a "DOS primary partition", should be fine for installing FreeBSD into. > Perhaps somebody can exactly write the steps I have to do, to install > FreeBSD on /dev/sda1. In case the 1st slice is already of sysid 165 (FreeBSD/NetBSD/386BSD), the installer (NB: I'm talking about ye olde sysinstall -- no idea what new bsdinstall will do!) should be able to identify previous partitions that have been created in this slice. You can re-use them, you just have to define the mount points. Maybe it's also a good idea (but not strictly needed) to have the installer format them (newfs = yes). You can check with "fdisk ad0" from a FreeBSD live system (or the shell from the installation media). > I guess a swap and / is enough, but swap, /, /usr, /var, as it was for > PC-BSD is ok too. I've got 4 GB RAM, the swap I had before, was 8 GB > large. No problem with this functional separation. This would also default to have /home symlinked to /usr/home, making it part of the /usr partition, if that's okay for you. Also /tmp will be on the / partition (except you use tmpfs or a similar means to put /tmp into RAM). If the installer cannot create the partitions (for whatever reason that may be), you can relapse to using the CLI tool disklabel (bsdlabel) to create the partitions. If you don't want to work in this "old-fashioned manner", using gpart is also possible. It supports both old MBR style (what seems to be in use on your current installation) and new GPT style (to get rid of the "DOS primary partitions", "DOS extended partitions", and "logical volumes inside a DOS extended partition"). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 02:00:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0CA7724B for ; Mon, 17 Dec 2012 02:00:10 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm4.bullet.mail.ird.yahoo.com (nm4.bullet.mail.ird.yahoo.com [77.238.189.61]) by mx1.freebsd.org (Postfix) with ESMTP id 29BEE8FC0A for ; Mon, 17 Dec 2012 02:00:08 +0000 (UTC) Received: from [212.82.105.224] by nm4.bullet.mail.ird.yahoo.com with NNFMP; 17 Dec 2012 02:00:01 -0000 Received: from [217.146.189.69] by tm20.bullet.mail.ird.yahoo.com with NNFMP; 17 Dec 2012 02:00:01 -0000 Received: from [127.0.0.1] by smtp149.mail.ird.yahoo.com with NNFMP; 17 Dec 2012 02:00:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1355709601; bh=19kpw46ybbtnYJc2yZqGXA+QMLjiGFHoVg6WVLru8h8=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=0Sp3baVfZnyFHdjEDC6MBnBKR8c15i8U5FeeKBjPlZPnTPgZ9ZYNlJRaHHYrlyHCIB2dxMrxrYRuKW5RbhdWkeFTQktmzEtDNKujF0vDCIQmcodthazkJ6WsxYYcXFyMev7w+O4IwcSqVAOs4hiQpNGqr52u7GO8TSBRVgTf6wM= X-Yahoo-Newman-Id: 767212.42011.bm@smtp149.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 7hyV4PMVM1ltdgmh3STScE5wqAyPNBc2hMaBascI.5Zu.d7 U4Q8j4IqosrFRJIlt.OufM6ad8eVWq2sz8gQXz5CESr2LNw92Yvp7w6wLrt5 fx0yh.hIIfG5z.yRs9yBMpxkk9zgYLn_eT__xppV7yfreCbymMn0FJzV7_zT WEg2tM70cRDh848QI4EVNndz8KMgqXjrlmCEWxSkUzmkdZmjjLCv7dzwM3D6 1wdm_.u92vDLhJIW5MJdcE4wOdvfDXanuVUsF9AqKV5z968c2f4iAU6gNF7_ 5V6yrHNAMP_fIIShRRjlk5oXuMYt7s2mFuaeIJYKGDmcZgpmFpThEICbDbMO buMu9CjrOfc72f2sN.q783MJ2RFwvLmzXnDP1.s2G90HM95uZejFROukBsKu e4WiQIbonD4_2mPR4F6o5YRHB2RDGS0si7oOcko0Be8NHcCaDmM9OIv2fMaj ebputAOUXuN0V_NNULMKgG6e1.OYNyvPVlVxlgQeVslA1u3Vqoi83C6cxt.y 4NzsJOV.YpfSIZXF3dCPpYdON6QBMCjLWu4vSu37_SdFqfm.PEw-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [92.231.4.209] (ralf.mardorf@92.231.4.209 with login) by smtp149.mail.ird.yahoo.com with SMTP; 16 Dec 2012 18:00:01 -0800 PST Message-ID: <1355709600.4691.15.camel@q> Subject: Re: Partitioning - please not that again From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Mon, 17 Dec 2012 03:00:00 +0100 In-Reply-To: <20121217021723.35457dbd.freebsd@edvax.de> References: <1355702700.2452.32.camel@q> <20121217021723.35457dbd.freebsd@edvax.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 02:00:10 -0000 On Mon, 2012-12-17 at 02:17 +0100, Polytropon wrote: > On Mon, 17 Dec 2012 01:05:00 +0100, Ralf Mardorf wrote: > > ada0 298 GB MBR > > ada0s1 57 GB freebsd > > ada0s2 240 GB EBR > > [snip] > > > > gpart show also doesn't display the 3 ufs and the swap any more. > > Did it previously show them? Yes, they where shown. > Option: The partition data has been lost. Only the slice "enclosing" > them has been kept. Ok :S. > > How do I have to use the partition editor of the installer? > > Usually as described in The FreeBSD Handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-partitioning.html > > As it seems, the installer guide defaults to GPT; what you have > (judging from the Linux construction) is MBR, but there is a > slice available, and that should be sufficient. Figure 3-16. Manually Create Partitions doesn't work. > You can compare: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html So I can start sysinstall from the installer's shell? Oops, in the following mail there is the answer :). Thank you, I'll try this. ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 02:03:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25D3335E for ; Mon, 17 Dec 2012 02:03:16 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm4-vm0.bullet.mail.ukl.yahoo.com (nm4-vm0.bullet.mail.ukl.yahoo.com [217.146.183.230]) by mx1.freebsd.org (Postfix) with ESMTP id 9214F8FC15 for ; Mon, 17 Dec 2012 02:03:15 +0000 (UTC) Received: from [217.146.183.181] by nm4.bullet.mail.ukl.yahoo.com with NNFMP; 17 Dec 2012 02:00:06 -0000 Received: from [77.238.184.58] by tm12.bullet.mail.ukl.yahoo.com with NNFMP; 17 Dec 2012 02:00:06 -0000 Received: from [127.0.0.1] by smtp127.mail.ukl.yahoo.com with NNFMP; 17 Dec 2012 02:00:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1355709606; bh=3N1cJSHQxx0fS5Iy5hvYK/gb+Bbgx5Pm5m/diNpoDkE=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=4AbSH0IXnR2s2ximfwUkVDYxrSuyyDo1GtZgo4QZcPXSzqL2L/vRrMCn5qxHH+Dic18xU/bvtQhhXHx4x0+EMNQTiVfHkpScOG7NHv1khJJPG0Vp38BfEkZq1aqGB7Q8Ery4kOkJL6svPV7DW293g7h+t6dJat4Ltz3/KJha9/s= X-Yahoo-Newman-Id: 952188.38534.bm@smtp127.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: hSF5THkVM1kegkSylbO8TSMHXGgyhgmI5BBSZuzcwPzUlIM gS2SB6PeSD6SFo6OhNPFxNtIkgCLPoHCXURZG0UoEzSZl3YH5dMyZsohloWG pNwwuNg2mZViu6k2QbSNxYSl9XwrUK32hTeM6.yq_3cdApcnk2erAjb7Dsx. Sw7rpTQh1eJKl3_RzFPoFrfq.48hwsyB25JHbJ7q5MsXbUMz_wAlrA6B8oF1 DhJIRoBmWnQTITSwbYAQ1yMTZlFBrmsR.jc.Tu9hTVsMU9VzP2kQ1kZlQpMI oRrTd1W_MPxAsALHqrkLtPlFzX5crCsdFkzpW.zxo76bOqQvtQ8ry4xvv2l0 CMB023eQ2vR5264PWCNqukEUkDWz0.tDQVupaG9FC1WxP1bGwW_DL25heHsl K62HdJwXx3rFbul1QS98xpgnVN4fuxmyZx4YucDWR2t8l40WgYXCfTmUF10Y gvkHfT.MAbi9P6CzHa0xKxUjC99DrABH9cc2l12a7wJRvrub6WqwympXc4KK EbWwHNVzwDxCa.kKHTA_2JOmsctC17O8Ms_9T8J32zIEcJyuQB5q8QDEi1J5 kcVzuQjF08IxBR__hYBtuJkQDEhJq.VpGa7b21NiWDwSnEZRaiSxHrpMK X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [92.231.4.209] (ralf.mardorf@92.231.4.209 with login) by smtp127.mail.ukl.yahoo.com with SMTP; 17 Dec 2012 02:00:06 +0000 GMT Message-ID: <1355709605.4691.16.camel@q> Subject: Re: PS: Partitioning - please not that again From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Mon, 17 Dec 2012 03:00:05 +0100 In-Reply-To: <20121217021728.0a476065.freebsd@edvax.de> References: <1355702700.2452.32.camel@q> <1355705699.3648.9.camel@q> <20121217021728.0a476065.freebsd@edvax.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 02:03:16 -0000 ... On Mon, 2012-12-17 at 02:17 +0100, Polytropon wrote: > On Mon, 17 Dec 2012 01:54:59 +0100, Ralf Mardorf wrote: > > Screenshots from Linux's GParted: > > http://www.zimagez.com/zimage/screenshot-12172012-012707am.php > > http://www.zimagez.com/zimage/screenshot-12172012-014310am.php > > Judging from the screenshots, /dev/sda1 = /dev/ad0s1, a > "DOS primary partition", should be fine for installing > FreeBSD into. PC-BSD could use it. > > Perhaps somebody can exactly write the steps I have to do, to install > > FreeBSD on /dev/sda1. > > In case the 1st slice is already of sysid 165 (FreeBSD/NetBSD/386BSD), > the installer (NB: I'm talking about ye olde sysinstall -- no idea > what new bsdinstall will do!) should be able to identify previous > partitions that have been created in this slice. You can re-use > them, you just have to define the mount points. Maybe it's also > a good idea (but not strictly needed) to have the installer > format them (newfs = yes). > > You can check with "fdisk ad0" from a FreeBSD live system (or > the shell from the installation media). Ok. > > I guess a swap and / is enough, but swap, /, /usr, /var, as it was for > > PC-BSD is ok too. I've got 4 GB RAM, the swap I had before, was 8 GB > > large. > > No problem with this functional separation. This would also default > to have /home symlinked to /usr/home, making it part of the /usr > partition, if that's okay for you. Also /tmp will be on the / > partition (except you use tmpfs or a similar means to put /tmp > into RAM). > > If the installer cannot create the partitions (for whatever reason > that may be), you can relapse to using the CLI tool disklabel > (bsdlabel) to create the partitions. > > If you don't want to work in this "old-fashioned manner", using > gpart is also possible. It supports both old MBR style (what seems > to be in use on your current installation) and new GPT style > (to get rid of the "DOS primary partitions", "DOS extended partitions", > and "logical volumes inside a DOS extended partition"). gpart didn't work. However, I'll try sysinstall or http://www.manpages.info/freebsd/disklabel.8.html ... hm? ... I'm not sure, if I already tried bsdlabel. Regards, Ralf From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 02:23:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 92649B22 for ; Mon, 17 Dec 2012 02:23:39 +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 480998FC0A for ; Mon, 17 Dec 2012 02:23:39 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id qBH2NcN5006154; Sun, 16 Dec 2012 19:23:38 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id qBH2NcjM006151; Sun, 16 Dec 2012 19:23:38 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 16 Dec 2012 19:23:38 -0700 (MST) From: Warren Block To: Ralf Mardorf Subject: Re: PS: Partitioning - please not that again In-Reply-To: <1355705699.3648.9.camel@q> Message-ID: References: <1355702700.2452.32.camel@q> <1355705699.3648.9.camel@q> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 16 Dec 2012 19:23:38 -0700 (MST) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 02:23:39 -0000 On Mon, 17 Dec 2012, Ralf Mardorf wrote: > Screenshots from Linux's GParted: > http://www.zimagez.com/zimage/screenshot-12172012-012707am.php > http://www.zimagez.com/zimage/screenshot-12172012-014310am.php > > Perhaps somebody can exactly write the steps I have to do, to install > FreeBSD on /dev/sda1. > > I guess a swap and / is enough, but swap, /, /usr, /var, as it was for > PC-BSD is ok too. I've got 4 GB RAM, the swap I had before, was 8 GB > large. Like this? http://forums.freebsd.org/showpost.php?p=149210&postcount=13 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 02:28:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 164C7CDF for ; Mon, 17 Dec 2012 02:28:48 +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 C05828FC0A for ; Mon, 17 Dec 2012 02:28:47 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id qBH2ShQE006181; Sun, 16 Dec 2012 19:28:43 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id qBH2Sh02006178; Sun, 16 Dec 2012 19:28:43 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 16 Dec 2012 19:28:43 -0700 (MST) From: Warren Block To: Polytropon Subject: Re: Partitioning - please not that again In-Reply-To: <20121217021723.35457dbd.freebsd@edvax.de> Message-ID: References: <1355702700.2452.32.camel@q> <20121217021723.35457dbd.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 16 Dec 2012 19:28:43 -0700 (MST) Cc: Ralf Mardorf , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 02:28:48 -0000 On Mon, 17 Dec 2012, Polytropon wrote: > On Mon, 17 Dec 2012 01:05:00 +0100, Ralf Mardorf wrote: >> I startet the FreeBSD installer, chose the shell and then run: >> >> # mount -t ufs /dev/ad0s1 /mnt >> # cd /mnt >> # rm -r * >> # rm -r .* > > That worked? I can hardly understand why /dev/ad0s1 is > mountable (except it's /dev/ad0s1c, i. e. you've initialized > the whole slice, but no swap then). > > A typical construction for FreeBSD would be at least to have > /dev/ad0s1a, mounted to /, being the bootable root partition, > and /dev/ad0s1b, the swap partition. Further partitions could > have been created, e. g. /dev/ad0s1d for /var, and /dev/ad0s1e > for /usr. > > > > >> This does cause the issue I already had before. When I go back to the >> installer, for the partition editor I get: >> >> ada0 298 GB MBR >> ada0s1 57 GB freebsd >> ada0s2 240 GB EBR >> [snip] >> >> gpart show also doesn't display the 3 ufs and the swap any more. > > Did it previously show them? I don't know if gpart supports > BSD-typical partitioning (i. e. partitions inside a slice)... Yes, it does. But it won't show them unless you look in ada0s1. bsdlabel partitions are inside slices. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 09:19:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D53A223D; Mon, 17 Dec 2012 09:19:41 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 041E88FC14; Mon, 17 Dec 2012 09:19:40 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id a14so2240731eaa.13 for ; Mon, 17 Dec 2012 01:19:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qiS8UPgc3k3PHjmNejddPjGe8UpbgyXbAsTtviRdYfw=; b=N20A7dwPEr5VxI6A0b2z24/qwdPv2d4VN/i2Emkmve2ctBGXiyySDNf/Bomn9/hiaS 5XZQKSFUT5Qz1peWx8C0AM2oWptY/8Ch3qntJsNxVR7v8RJf/SfWpqJRcaJc1Y1zJT2x hTBY/PfZVuAvDsQtkB5gO3kNcVM/Gcha6IEHl+eCkT4MxPVm09koQEznaZcvLzr9XgGN fzOCwOJKVI4RElJskvuDaE5H6yeV9E/0V0FVDpHWegDgs3H1p32OgyVc6png+zowkm5w LclaR7/6TVHKgJsq6PLDBjaXcmFgS/7KKLTdU7sP9DOGqTk1wWZqxnASkugaepmH7dK5 eAdg== MIME-Version: 1.0 Received: by 10.14.209.193 with SMTP id s41mr39917238eeo.9.1355735973890; Mon, 17 Dec 2012 01:19:33 -0800 (PST) Received: by 10.14.202.135 with HTTP; Mon, 17 Dec 2012 01:19:33 -0800 (PST) In-Reply-To: <1352058809.4628.1.camel@powernoodle.corp.yahoo.com> References: <20121102141056.GA64665@neutralgood.org> <1352058809.4628.1.camel@powernoodle.corp.yahoo.com> Date: Mon, 17 Dec 2012 11:19:33 +0200 Message-ID: Subject: Re: Dell H710 and H310 Raid Controller From: Omer Faruk SEN To: sbruno@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-scsi@freebsd.org" , FreeBSD , "kpneal@pobox.com" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 09:19:42 -0000 Does bcm5720 support committed to 9-Stable? On Sun, Nov 4, 2012 at 9:53 PM, Sean Bruno wrote: > On Sun, 2012-11-04 at 05:47 -0800, Omer Faruk SEN wrote: > > It seems right now only way to go with Rx20 Server models is to use > > Intel > > cards (dell provides i350 chipset network interfaces as alternative) > > The Broadcom 5720 support is in current right now. It will not be in > 9.1, but will be available in stable/9 soon-ish. > > Sean > From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 11:39:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D2611BB8 for ; Mon, 17 Dec 2012 11:39:20 +0000 (UTC) (envelope-from jack.mclauren@yahoo.com) Received: from nm30.bullet.mail.bf1.yahoo.com (nm30.bullet.mail.bf1.yahoo.com [98.139.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id 67F828FC1C for ; Mon, 17 Dec 2012 11:39:20 +0000 (UTC) Received: from [98.139.212.149] by nm30.bullet.mail.bf1.yahoo.com with NNFMP; 17 Dec 2012 11:39:19 -0000 Received: from [98.139.212.205] by tm6.bullet.mail.bf1.yahoo.com with NNFMP; 17 Dec 2012 11:39:19 -0000 Received: from [127.0.0.1] by omp1014.mail.bf1.yahoo.com with NNFMP; 17 Dec 2012 11:39:19 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 318148.51981.bm@omp1014.mail.bf1.yahoo.com Received: (qmail 61441 invoked by uid 60001); 17 Dec 2012 11:39:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1355744359; bh=+Y3imhyAcqFQy+qr4L0tK6WMaJKKeRDGP+aDXuhWfwk=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=zI8mjisFQo0fW3V3JGVqcjPxbVi4sTqLHygs+9oMuNj+8+0Z5XtzM4YGeayw6+tTRtutVKuyrcPEQOo5C1hErfH8zefz7/ECphBYRJlLJqAFf7FL4WLRWfhLOahzZ4O4DTLUMckPjMNjj8tvgjwJgjQyZKNwm+5MXopvK6zkZW4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=IIGBJkfxWA0dSPEVBmUJLSRznqsYDeAB83FJqF5jT4RPHCGI3wQSmP/dis42NTSZUMHWSs2Nz+aHxshFINI/cLWRxJJNhO3VTwF7UJnMwuebOZSgu0pJZNWFBE0jDSSDZK18FtWDFLDPvhyAoXsZTnUaWXuGYeFasGoBSOTAwpg=; X-YMail-OSG: 59i4fTYVM1lYEDmsMPfd_pH4zMF3hl62R3eEYGEXI8kiRzo XfDe8p_FBTOsBlYBp.X3aZSAHY_KJ9jCbbPLsqxl5KS4_c2dg0x.e7jKO.JV p9qtlRM69JxHzkvqiPFgwpk1FvyqTV9WtyeOMV0DZsXGnXefzn91wb6cnY7D B.lzRVjVkAugsackJSgClL3cu03BSmNvYGff4.UPugHCGqPrkOYnl5190.I4 4zQO0FFLMXvBIXDvflLN1e.2roffjQUlSIE.20yzTzzEqXcmJ67ktKeKoNST unQMsXvqQMf3DtEV6_JRCUwMLrzxsZkYgvGWnuQQDIcNmJGufejacFDirGs1 47QxKohn2MSS0ubTcY9dXJM5GTpNMcJ6t_NGgGOz7fGn3uwfgK8p0sCgzfqt ZN3b6qMQ.oZHi58_ehrmAog0QpSJ629Nlzy83UFVEY7oGkoryqiUVKzRY3Q- - Received: from [89.165.120.140] by web160104.mail.bf1.yahoo.com via HTTP; Mon, 17 Dec 2012 03:39:19 PST X-Rocket-MIMEInfo: 001.001, SGkgZ3V5cwoKSG93IGNhbiBJIHJlYWQgYSBmaWxlIHdoaWNoIGNvbnRhaW5zIGEgbnVtYmVyIGFuZCBhc3NpZ24gdGhhdCBudW1iZXIgdG8gYSB2YXJpYWJsZSB2aWEgYXdrIHByb2dyYW1taW5nPyBCeSB0aGUgd2F5LCBJIHdhbnQgdG8gdXNlIHRoaXMgYXdrIHByb2dyYW0gaW4gYSBzaGVsbCBzY3JpcHQuCgpUaGFua3MgaW4gYWR2YW5jZQEwAQEBAQ-- X-Mailer: YahooMailWebService/0.8.128.478 Message-ID: <1355744359.61103.YahooMailNeo@web160104.mail.bf1.yahoo.com> Date: Mon, 17 Dec 2012 03:39:19 -0800 (PST) From: Jack Mc Lauren Subject: using AWK To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jack Mc Lauren List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 11:39:20 -0000 Hi guys How can I read a file which contains a number and assign that number to a variable via awk programming? By the way, I want to use this awk program in a shell script. Thanks in advance From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 12:00:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DFB5962F for ; Mon, 17 Dec 2012 12:00:25 +0000 (UTC) (envelope-from tamino@wolfhut.org) Received: from pendor.wolfhut.org (pendor.wolfhut.org [173.228.91.225]) by mx1.freebsd.org (Postfix) with ESMTP id C185E8FC0C for ; Mon, 17 Dec 2012 12:00:25 +0000 (UTC) Received: from [192.168.42.100] (173-228-91-224.static.sonic.net [173.228.91.224]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by pendor.wolfhut.org (Postfix) with ESMTPSA id E598DDBB32; Mon, 17 Dec 2012 03:52:56 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: using AWK From: Ben Cottrell In-Reply-To: <1355744359.61103.YahooMailNeo@web160104.mail.bf1.yahoo.com> Date: Mon, 17 Dec 2012 03:52:56 -0800 Content-Transfer-Encoding: 7bit Message-Id: <8EA88B4E-9C21-4CF7-9AB0-87663AB876F8@wolfhut.org> References: <1355744359.61103.YahooMailNeo@web160104.mail.bf1.yahoo.com> To: Jack Mc Lauren X-Mailer: Apple Mail (2.1499) Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 12:00:25 -0000 Hi Jack, On Dec 17, 2012, at 03:39, Jack Mc Lauren wrote: > How can I read a file which contains a number and assign that number to > a variable via awk programming? By the way, I want to use this awk program > in a shell script. I'm actually not sure what you're asking, exactly -- you want the number to go into an awk variable? Or a shell variable? Assuming you want it to go into an awk variable, I would try something like this: getline my_number < filename; close filename; That assumes the filename is stored in the variable named "filename". It puts the number in the awk variable named "my_number". To put that in context, let's say you're getting the filename from $0, and you want to multiply the number by 2 and print it. You might do: filename = $0; getline my_number < filename; close filename; print my_number * 2; Or if I completely misinterpreted your question, let me know :-) ~Ben From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 12:05:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5BFC577D for ; Mon, 17 Dec 2012 12:05:13 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from hp9.esiee.fr (hp9.esiee.fr [147.215.1.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0D8DD8FC15 for ; Mon, 17 Dec 2012 12:05:12 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by hp9.esiee.fr (Postfix) with ESMTP id 3YQ1Bd6zXVz3DNWg for ; Mon, 17 Dec 2012 12:59:53 +0100 (CET) X-DKIM: OpenDKIM Filter v2.5.2 hp9.esiee.fr 3YQ1Bd6zXVz3DNWg DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=esiee.fr; s=MAILOUT; t=1355745594; bh=ZtbaX3vdMr33/pmlx0xRtJx1j1D1KkQMGkdxN69fi0Y=; h=Date:From:To:Subject:References:In-Reply-To; b=amX6XaDnCLOQxUpTdEi1MUCJVuvR81vesKA0QSHcj16AouSxpWGd4LZ8A4W/9b4N9 7d+E18SQVxFORwYd89P4cDfiDYici6eyRh5DaSs+kHo8HQZeR0CmabiA6A6SszYQWB jUhaYgaAh5ANsoksMLkDz9OI8nRxmw+8Pwrbz/70= Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 3YQ1Bd6FBVzYmlb for ; Mon, 17 Dec 2012 12:59:53 +0100 (CET) Received: from smtps.esiee.fr (smtps.esiee.fr [147.215.1.29]) by mail.esiee.fr (Postfix) with ESMTP id 3YQ1Bd5QdPzYmlp for ; Mon, 17 Dec 2012 12:59:53 +0100 (CET) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bonnetf) by smtps.esiee.fr (Postfix) with ESMTPSA id 3YQ1Bd4z0Cz1btgC for ; Mon, 17 Dec 2012 12:59:53 +0100 (CET) Message-ID: <50CF0939.1000100@esiee.fr> Date: Mon, 17 Dec 2012 12:59:53 +0100 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: using AWK References: <1355744359.61103.YahooMailNeo@web160104.mail.bf1.yahoo.com> In-Reply-To: <1355744359.61103.YahooMailNeo@web160104.mail.bf1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 12:05:13 -0000 On 12/17/2012 12:39 PM, Jack Mc Lauren wrote: > Hi guys > > How can I read a file which contains a number and assign that number to a variable via awk programming? By the way, I want to use this awk program in a shell script. > > Thanks 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" A good awk start : http://www.grymoire.com/Unix/Awk.html From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 12:22:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C4085C26 for ; Mon, 17 Dec 2012 12:22:23 +0000 (UTC) (envelope-from jack.mclauren@yahoo.com) Received: from nm16.bullet.mail.bf1.yahoo.com (nm16.bullet.mail.bf1.yahoo.com [98.139.212.175]) by mx1.freebsd.org (Postfix) with ESMTP id 50AB58FC13 for ; Mon, 17 Dec 2012 12:22:23 +0000 (UTC) Received: from [98.139.212.148] by nm16.bullet.mail.bf1.yahoo.com with NNFMP; 17 Dec 2012 12:22:22 -0000 Received: from [98.139.212.235] by tm5.bullet.mail.bf1.yahoo.com with NNFMP; 17 Dec 2012 12:22:22 -0000 Received: from [127.0.0.1] by omp1044.mail.bf1.yahoo.com with NNFMP; 17 Dec 2012 12:22:22 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 415031.26447.bm@omp1044.mail.bf1.yahoo.com Received: (qmail 52503 invoked by uid 60001); 17 Dec 2012 12:22:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1355746942; bh=CWn9UqfabXDcLFbKSJ9OyD8Ju164l26DiHrCa+Zt4J4=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=uAnZwIhrbKAG9B8PC/cbxQvjf10nP+qNBo3FTWp205XcpEsS0ozBEmJbxU40LfoI1s5vGR9DVQSesdiDXXARL41iPGMLb7tCI161ulxWxixU9M9RsjoDaDhYrpN03O9pOjyw6kuCRXV4o51ux9tRLN4n42pPyX0cmXpVcMwxu60= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=k0GehiREI2EkH8b9uK/h+gz+8mWTbdBbt1/MaWOA+RJKKYmo9injAq4A1FcSvh8b42kSwY8Sm2U/3d7OfrsJklSiww6OrA2WOjXKY8hv+WgztHgsnsgRPo39ARppLyJ41nGhb8uBgfJEfWNHQ6mRr6mWqgbMpVVD1XjAgismcK8=; X-YMail-OSG: Ufgqs5oVM1kG9Jk.vWizh59xieBg9WiScZYicVeDaaKYO5w K3XSsRsSxTo0InnU7Lw.1ps1E3ca4HfPiVVZ8I2cjs4yFBLsPKDzUcfHHJK4 8fr.TaSKj27iX9bOpxtL4U91ba4kBBd0HXXvWyYEiWLImZqzcVtfrVT_KS3A 0NYzRJ9XKH05TJiXpvxhTVll.E255mm2ZTZSogm2uOD8XyY64qfT33R0dgX6 fXDdiMprT9kJyDL3rDAcwYlXeUq1RDLMLVyxyojjKH0lKbtvd8S0q86ryStc smriMJlw_UC.FohDe1txaXRsecbJLLJUoWNrydXgtV9r2vUq7HlrM_U.i8CU O4wCuAfVNPXwV_9Kaz_U_WL6BxI0VdeXTGQ54qkGIEpn7lq7tcJU_tiGe5.c mDkmWJhM1wqPWQ6BfJJDQ34YAar5D6yFEF1u6enMGvUjxete8UDMM1k5lx2R qCmec93zuiRNhD6Yb2hEj.DCwZLtqJNKUzkT_fFkjw5lg0MVO.Bqf75Xvx30 yJnQsJaJjbUk- Received: from [89.165.120.140] by web160103.mail.bf1.yahoo.com via HTTP; Mon, 17 Dec 2012 04:22:21 PST X-Rocket-MIMEInfo: 001.001, Pj5IaSBKYWNrLAoKCgpISQoKPiBIb3cgY2FuIEkgcmVhZCBhIGZpbGUgd2hpY2ggY29udGFpbnMgYSBudW1iZXIgYW5kIGFzc2lnbiB0aGF0IG51bWJlciB0bwo.IGEgdmFyaWFibGUgdmlhIGF3ayBwcm9ncmFtbWluZz8gQnkgdGhlIHdheSwgSSB3YW50IHRvIHVzZSB0aGlzIGF3ayBwcm9ncmFtCj4gaW4gYSBzaGVsbCBzY3JpcHQuCgo.PkknbSBhY3R1YWxseSBub3Qgc3VyZSB3aGF0IHlvdSdyZSBhc2tpbmcsIGV4YWN0bHkgLS0geW91IHdhbnQgdGhlIG51bWJlcgo.PnRvIGdvIGludG8gYW4gYXdrIHZhcmkBMAEBAQE- X-Mailer: YahooMailWebService/0.8.129.483 References: <1355744359.61103.YahooMailNeo@web160104.mail.bf1.yahoo.com> <8EA88B4E-9C21-4CF7-9AB0-87663AB876F8@wolfhut.org> Message-ID: <1355746941.52411.YahooMailNeo@web160103.mail.bf1.yahoo.com> Date: Mon, 17 Dec 2012 04:22:21 -0800 (PST) From: Jack Mc Lauren Subject: Re: using AWK To: Ben Cottrell In-Reply-To: <8EA88B4E-9C21-4CF7-9AB0-87663AB876F8@wolfhut.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jack Mc Lauren List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 12:22:23 -0000 >>Hi Jack,=0A=0A=0A=0AHI=0A=0A> How can I read a file which contains a numb= er and assign that number to=0A> a variable via awk programming? By the way= , I want to use this awk program=0A> in a shell script.=0A=0A>>I'm actually= not sure what you're asking, exactly -- you want the number=0A>>to go into= an awk variable? Or a shell variable?=0A=0AYes, I want the number to go in= to an awk variable.=0A=0A>>Assuming you want it to go into an awk variable,= I would try something=0A>>like this:=0A=0A>> =A0 =A0getline my_number < fi= lename;=0A>> =A0 =A0close filename;=0A=0A>>That assumes the filename is sto= red in the variable named "filename".=0A>>It puts the number in the awk var= iable named "my_number".=0A=0A>>To put that in context, let's say you're ge= tting the filename from $0,=0A>>and you want to multiply the number by 2 an= d print it. You might do:=0A=0A>> =A0 =A0filename =3D $0;=0A>> =A0 =A0getli= ne my_number < filename;=0A>> =A0 =A0close filename;=0A>> =A0 =A0print my_n= umber * 2;=0A=0A>>Or if I completely misinterpreted your question, let me k= now :-)=0A=0A>> =A0 =A0~Ben=0A=0A=0AThis is what i wrote:=0A=0A=0A#! /bin/s= h=0A=0Afilename=3D$0=0Aawk 'getline no < filename; print no'=0A=0ABut when = I run this script=0A=0Ash /awk_no.sh /var/no.txt=0A=0AI have this error := =0A=0Aawk: syntax error at source line 1=0A=A0context is=0A=A0 =A0 =A0 =A0 = getline no < filename; >>> =A0print <<< =A0no=0Aawk: bailing out at source = line 1=0A=0AThank you :) From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 12:38:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB24D2A5 for ; Mon, 17 Dec 2012 12:38:08 +0000 (UTC) (envelope-from radek.krejca@starnet.cz) Received: from EXCHANGE.mail.starnet.cz (exchange.mail.starnet.cz [92.62.224.72]) by mx1.freebsd.org (Postfix) with ESMTP id 1A6218FC12 for ; Mon, 17 Dec 2012 12:38:07 +0000 (UTC) Received: from EXCHANGE.mail.starnet.cz ([fe80::7534:a1f0:da0:e34d]) by EXCHANGE.mail.starnet.cz ([fe80::7534:a1f0:da0:e34d%15]) with mapi; Mon, 17 Dec 2012 13:36:59 +0100 From: =?iso-8859-2?Q?Radek_Krej=E8a?= To: "freebsd-questions@freebsd.org" Date: Mon, 17 Dec 2012 13:36:58 +0100 Subject: Unecpected change default route in 9.0, 8.2 Thread-Topic: Unecpected change default route in 9.0, 8.2 Thread-Index: Ac3cUzabAVg4D2pjQneu71cOHB8g/w== Message-ID: Accept-Language: cs-CZ Content-Language: cs-CZ X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: cs-CZ Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 12:38:08 -0000 Hi, I have diskless routers, on one of theese I have problem, that default = gate is changing.=20 Image is clean and updated. There is no route daemon, no snmp, dhclient isn= t running. Whith resarch in cooperation in chzech bsd mailing list I get following thi= ngs: Ifconfig of this machine is: ifconfig -a: em0: flags=3D8843 metric 0 mtu 1500 options=3D219b ether 00:25:90:a1:f5:a9 inet 178.255.168.19 netmask 0xfffff800 broadcast 178.255.175.255 inet6 fe80::225:90ff:fea1:f5a9%em0 prefixlen 64 scopeid 0x1 inet6 2a02:768:0:4000::19 prefixlen 64 nd6 options=3D21 media: Ethernet autoselect (1000baseT ) status: active em1: flags=3D8943 metric 0 = mtu 1500 options=3D219b ether 00:25:90:a1:f5:a8 inet6 fe80::225:90ff:fea1:f5a8%em1 prefixlen 64 scopeid 0x3 inet 10.1.11.1 netmask 0xfffffffc broadcast 10.1.11.3 nd6 options=3D21 media: Ethernet autoselect (1000baseT ) status: active vlan304: flags=3D8843 metric 0 mtu = 1500 options=3D3 ether 00:25:90:a1:f5:a8 inet 10.219.11.97 netmask 0xffffffe0 broadcast 10.219.11.127 inet6 fe80::225:90ff:fea1:f5a8%vlan304 prefixlen 64 scopeid 0xb4 inet 10.9.114.1 netmask 0xfffffffc broadcast 10.9.114.3 nd6 options=3D21 media: Ethernet autoselect (1000baseT ) status: active vlan: 304 parent interface: em1 After attack isnot affected. Ip of machine is 178.255.168.19, default route= is 178.255.168.254.=20 netstat -nr|less Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 178.255.168.254 UGS 0 8766645 em0 After change look like this: netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 189.71.208.123 UGS 1 1184931064 em0 This is example, ip of gateway is random. route monitor tells (there is other ip, route monitor runs later, on other = attack). got message of size 192 on Mon Dec 17 13:19:20 2012 RTM_DELETE: Delete Route: len 192, pid: 21546, seq 1, errno 0, flags: locks: inits: sockaddrs: default 175.139.119.60 default Is possilble, that icmp redirect can change default route? No other user, t= han me, are logged to system. Thank you Radek From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 13:13:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 389F0369 for ; Mon, 17 Dec 2012 13:13:13 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 055E18FC13 for ; Mon, 17 Dec 2012 13:13:12 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id wz12so3542363pbc.13 for ; Mon, 17 Dec 2012 05:13:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/tmp/LIrQB4+MPEzkLqC98P05PF3lQKpztztC/iehNk=; b=EiszzWVclKNdfNZs/GXYFA9c9S0m3lL+vuEPApK0gMttHPqCx0w1WdAimPY8lueHKT WtTnbn7rHKFfxOeuiNiNbRiGuDS7F25fmmKj64eA8a4kIBqaRlFuC+rui18pMV57z6eX 2ajqNptxw05avkSwdDbd5y15WMASZMNm82YNeudfyRF6BD/5CE0azD55J9bGAupSejwu I/q9GjxiH18H9fhejZh9EYSIWtJjvGZG8Wg6J6ergMZ87xIyJs28Mc2v+UoSFl0rzQUK TBGeOThmt70wZuDc4ryUtNH8t5EKGmVxCHd/yQMQZSbJDhcJ22f4ufrAqJhx4KokqjSN YGTA== MIME-Version: 1.0 Received: by 10.66.52.102 with SMTP id s6mr42517021pao.6.1355749992165; Mon, 17 Dec 2012 05:13:12 -0800 (PST) Received: by 10.66.80.36 with HTTP; Mon, 17 Dec 2012 05:13:11 -0800 (PST) In-Reply-To: <44txrnqbav.fsf@lowell-desk.lan> References: <20121215194427.GA19347@baot.se> <44txrnqbav.fsf@lowell-desk.lan> Date: Mon, 17 Dec 2012 14:13:11 +0100 Message-ID: Subject: Re: svn revision in uname From: David Demelier To: Lowell Gilbert Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org, "Anders N." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 13:13:13 -0000 I hope it will be removed soon, it pollutes the uname -a output. 2012/12/15 Lowell Gilbert > "Anders N." writes: > > > Hi. I've noticed in my "uname -a" on 9.1-RELEASE there is "r243826." > > This is on a system that upgraded from 9.1-RC3 using freebsd-update > > (binary). On another system, upgraded from 9.0-RELEASE via > > freebsd-update (source), there is nothing at all and uname -a looks > > normal. Two other people I asked have r243825 (installed from ISO) and > > r243872 (upgraded from svn). > > > > They're all 9.1-RELEASE, shouldn't they be the same, final version? > > As I understand it, the revision ID refers to the whole repository, not > just a branch. So if you do your own svn checkout tomorrow, you'll get > yet another revision number, even though the files will (probably) be > completely identical to what you checked out yesterday -- ongoing > commits to HEAD will keep kicking the revision number up. > > There is work going on to make system builds completely, bit-for-bit, > repeatable, but that will presumably mean getting rid of this revision > number information, not making it consistent. > _______________________________________________ > 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" > -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 13:16:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84E2C44C for ; Mon, 17 Dec 2012 13:16: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 3C6FF8FC12 for ; Mon, 17 Dec 2012 13:16:00 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx02.qsc.de (Postfix) with ESMTP id 698D12761C; Mon, 17 Dec 2012 14:15:58 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBHDG0u7002247; Mon, 17 Dec 2012 14:16:00 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 17 Dec 2012 14:16:00 +0100 From: Polytropon To: Jack Mc Lauren Subject: Re: using AWK Message-Id: <20121217141600.206f39e9.freebsd@edvax.de> In-Reply-To: <1355746941.52411.YahooMailNeo@web160103.mail.bf1.yahoo.com> References: <1355744359.61103.YahooMailNeo@web160104.mail.bf1.yahoo.com> <8EA88B4E-9C21-4CF7-9AB0-87663AB876F8@wolfhut.org> <1355746941.52411.YahooMailNeo@web160103.mail.bf1.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" , Ben Cottrell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 13:16:00 -0000 On Mon, 17 Dec 2012 04:22:21 -0800 (PST), Jack Mc Lauren wrote: > Yes, I want the number to go into an awk variable. > [...]=20 > This is what i wrote: >=20 >=20 > #! /bin/sh >=20 > filename=3D$0 > awk 'getline no < filename; print no' >=20 > But when I run this script >=20 > sh /awk_no.sh /var/no.txt >=20 > I have this error : >=20 > awk: syntax error at source line 1 > =A0context is > =A0 =A0 =A0 =A0 getline no < filename; >>> =A0print <<< =A0no > awk: bailing out at source line 1 >=20 > Thank you :) The error is obvious: You need to transition $filename from the sh level into the awk script, i. e. the file name string (in your example, "/var/no.txt") must be visible inside the awk script. You're using a variable called filename which is uninitialized (empty). You can either define the file name statically in the awk script, or use ${filename} in the script (use double quotes to allow resolution). Also note that $0 is the name by which the script has been called. $1 is the 1st parameter. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 15:56:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 096447FA for ; Mon, 17 Dec 2012 15:56:19 +0000 (UTC) (envelope-from tamino@wolfhut.org) Received: from pendor.wolfhut.org (pendor.wolfhut.org [173.228.91.225]) by mx1.freebsd.org (Postfix) with ESMTP id DCB188FC0C for ; Mon, 17 Dec 2012 15:56:17 +0000 (UTC) Received: from [192.168.42.100] (173-228-91-224.static.sonic.net [173.228.91.224]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by pendor.wolfhut.org (Postfix) with ESMTPSA id 6E013DBB61; Mon, 17 Dec 2012 07:56:17 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: using AWK From: Ben Cottrell In-Reply-To: <1355746941.52411.YahooMailNeo@web160103.mail.bf1.yahoo.com> Date: Mon, 17 Dec 2012 07:56:17 -0800 Content-Transfer-Encoding: 7bit Message-Id: <30513BAB-051F-47B1-BE77-3F2DCF76375F@wolfhut.org> References: <1355744359.61103.YahooMailNeo@web160104.mail.bf1.yahoo.com> <8EA88B4E-9C21-4CF7-9AB0-87663AB876F8@wolfhut.org> <1355746941.52411.YahooMailNeo@web160103.mail.bf1.yahoo.com> To: Jack Mc Lauren X-Mailer: Apple Mail (2.1499) Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 15:56:19 -0000 On Dec 17, 2012, at 04:22, Jack Mc Lauren wrote: > This is what i wrote: OK -- I'm adjusting my assumptions about what you're trying to do. :-) Bear with me: > #! /bin/sh > > filename=$0 So (a) there's only one input file, not multiple... and (b) it should come from the command line of the shell script wrapper. Right? > awk 'getline no < filename; print no' If there's only one input file, then this is super easy and you don't even need any of the getline or close stuff. Try: filename=$1 awk '{no = $0; print no;}' $filename In the shell script context (outside the awk), $1 refers to the first command line parameter of the script. You don't want $0 there. On the other hand, *inside* the awk part, dollar-sign variables have a completely different meaning. $0 in *awk* (not sh) means "the entire contents of each line of the input file". So if your file had multiple lines, that block would run multiple times. But since I'm guessing your file only has one line (that being the number in question), the awk block will only run once. ~Ben From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 16:15:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D34A0FB8 for ; Mon, 17 Dec 2012 16:15:28 +0000 (UTC) (envelope-from jflowers@ezo.net) Received: from smtp.ezo.net (mbox2.ezo.net [69.36.15.166]) by mx1.freebsd.org (Postfix) with ESMTP id A66528FC0C for ; Mon, 17 Dec 2012 16:15:28 +0000 (UTC) Received: from ezo.net (localhost.ezo.net [127.0.0.1]) by smtp.ezo.net (Postfix) with ESMTP id 0C669284E8 for ; Mon, 17 Dec 2012 11:19:38 -0500 (EST) From: "jflowers" To: freebsd-questions@freebsd.org Subject: FreeBSD/EC2 -9.0-Current 2011-01-01 (ami-f4db2a9d) Date: Mon, 17 Dec 2012 11:19:37 -0500 Message-Id: <20121217155015.M90220@ezo.net> X-Mailer: OpenWebMail 2.52 20060502 X-OriginatingIP: 99.40.134.222 (jflowers@ezo.net) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 16:15:28 -0000 I'm working my way through a re-education for EC2. I read a lot of posts but find it confusing to keep up with the current state of the art as to what information is applicable and what is not: 1. I had convinced myself that I was being told that I had to use a Windows instance but then found this AMI. It launched for T1.micro, always with the note that it was available for the free-tier which is important to me. Have I been too optimistic or is it, indeed, running with the free-tier restrictions? 2. Unfortunately, after I had spent a couple of hours on installing ports, I installed pkgng. It seemed to install OK but then when I ran pkg2ng it didn't work throwing the following error message twice. /libexec/ld-elf.so.1: Undefined symbol "Quiet" referenced from COPY relocation in /usr/sbin/pkg_info. and then ... Conversion has been successfully finished Your old packages database has been moved to: /var/db/pkg.bak There is no sign of a pkg.bak anywhere on the machine and, of course, pkg_* tools don't work. /var/db/pkg is still fully populated with what looks like the correct files. There is also no perl installed So my question is "Is there any way I can recover pkg_* tools or get pkgng to function? With only a couple of hours in it, I'm tempted to just start over and use one of the RELEASE AMIs. 3. I also noted a thread where Colin Percival talked about an initial launch as c1.medium to set things up and then restarting as t1.micro. Won't this trigger a minimum bill for 1 month being added to my free-tier $0.00? Thanks for any help responses to get me pointed in the right direction. -- Jim Flowers From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 16:16:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF3E0EC for ; Mon, 17 Dec 2012 16:16:32 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 564D98FC0C for ; Mon, 17 Dec 2012 16:16:31 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa01.fnfis.com (8.14.5/8.14.5) with ESMTP id qBHGGP4s004534 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 17 Dec 2012 10:16:31 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.31) with Microsoft SMTP Server (TLS) id 14.2.309.2; Mon, 17 Dec 2012 10:16:26 -0600 Subject: Re: using AWK MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="us-ascii" From: Devin Teske In-Reply-To: <1355744359.61103.YahooMailNeo@web160104.mail.bf1.yahoo.com> Date: Mon, 17 Dec 2012 08:16:26 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: <18B0C79B-AF04-48D1-AF26-1B8A8B3641C1@fisglobal.com> References: <1355744359.61103.YahooMailNeo@web160104.mail.bf1.yahoo.com> To: Jack Mc Lauren X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2012-12-17_03:2012-12-17,2012-12-17,1970-01-01 signatures=0 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 16:16:32 -0000 On Dec 17, 2012, at 3:39 AM, Jack Mc Lauren wrote: > Hi guys >=20 > How can I read a file which contains a number and assign that number to a= variable via awk programming? By the way, I want to use this awk program i= n a shell script. >=20 > Thanks in advance Try this: awk -v file=3D/etc/ttys 'BEGIN { getline line Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BFE643D5 for ; Mon, 17 Dec 2012 16:21:28 +0000 (UTC) (envelope-from jnagyjr1978@gmail.com) Received: from mail-ye0-f182.google.com (mail-ye0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7243C8FC12 for ; Mon, 17 Dec 2012 16:21:28 +0000 (UTC) Received: by mail-ye0-f182.google.com with SMTP id q5so1215310yen.13 for ; Mon, 17 Dec 2012 08:21:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=zXuQM6OH7KMyvMA8I6tJDpLT3lMUa/rOTUd5bOlLU74=; b=CBBjGrfLaptiX1+tuKWkC7ek6g25Y3LdFH2gGZ7dtimdThFTqoy0qmJXQXy3M9c3a6 VJaSp06jg+d3PwWmWi7XtFXw4XTMrYQTDSEOZjZQr4aoIydlFjtdH3j5gohTw1Sej60L 58Mapg3y/uuA151vBfDGb1odyhJF8e9GV8yBhPrBCPJnUHZwCefttNoY9nWQFCSXcTgg Uu61WmIgsh+4k5073RoU42oAYvPmEDsGXvGF5vxnb0++AIjRZJR2kEIvettpw7RkuZ0j gRfiltRcZQnT7BaOLd9NxECC3ID055ho0URzZFsju4QIIbpLQFDLaliuoUY62TxGpi/M vlig== Received: by 10.236.75.200 with SMTP id z48mr6649746yhd.41.1355761287751; Mon, 17 Dec 2012 08:21:27 -0800 (PST) Received: from [192.168.1.33] (vid-196.dhcp.grp10.tnmmrl.infoave.net. [204.116.254.196]) by mx.google.com with ESMTPS id n40sm12054478ani.16.2012.12.17.08.21.25 (version=SSLv3 cipher=OTHER); Mon, 17 Dec 2012 08:21:27 -0800 (PST) Message-ID: <50CF467F.8010806@gmail.com> Date: Mon, 17 Dec 2012 10:21:19 -0600 From: "Joseph A. Nagy, Jr" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: FreeBSD/EC2 -9.0-Current 2011-01-01 (ami-f4db2a9d) References: <20121217155015.M90220@ezo.net> In-Reply-To: <20121217155015.M90220@ezo.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 16:21:28 -0000 On 12/17/12 10:19, jflowers wrote: > 2. Unfortunately, after I had spent a couple of hours on installing ports, I > installed pkgng. It seemed to install OK but then when I ran pkg2ng it > didn't work throwing the following error message twice. > > /libexec/ld-elf.so.1: Undefined symbol "Quiet" referenced from COPY > relocation in /usr/sbin/pkg_info. > > and then ... > > Conversion has been successfully finished > Your old packages database has been moved to: /var/db/pkg.bak > > There is no sign of a pkg.bak anywhere on the machine and, of course, pkg_* > tools don't work. /var/db/pkg is still fully populated with what looks like > the correct files. There is also no perl installed To address the pkgng... when you ran pkg2ng all your tools moved to 'pkg add', 'pkg version', etc. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 16:23:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 793E358A; Mon, 17 Dec 2012 16:23:19 +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 33E768FC16; Mon, 17 Dec 2012 16:23:18 +0000 (UTC) Received: from r56.edvax.de (port-92-195-94-87.dynamic.qsc.de [92.195.94.87]) by mx02.qsc.de (Postfix) with ESMTP id C572D2B8CD; Mon, 17 Dec 2012 17:23:14 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBHGNGQS002941; Mon, 17 Dec 2012 17:23:16 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 17 Dec 2012 17:23:16 +0100 From: Polytropon To: Devin Teske Subject: Re: using AWK Message-Id: <20121217172316.79d8e198.freebsd@edvax.de> In-Reply-To: <18B0C79B-AF04-48D1-AF26-1B8A8B3641C1@fisglobal.com> References: <1355744359.61103.YahooMailNeo@web160104.mail.bf1.yahoo.com> <18B0C79B-AF04-48D1-AF26-1B8A8B3641C1@fisglobal.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions , Jack Mc Lauren X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 16:23:19 -0000 On Mon, 17 Dec 2012 08:16:26 -0800, Devin Teske wrote: > > On Dec 17, 2012, at 3:39 AM, Jack Mc Lauren wrote: > > > Hi guys > > > > How can I read a file which contains a number and assign that number to a variable via awk programming? By the way, I want to use this awk program in a shell script. > > > > Thanks in advance > > Try this: > > awk -v file=/etc/ttys 'BEGIN { getline line Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 592333EB; Mon, 17 Dec 2012 16:57:22 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 154238FC12; Mon, 17 Dec 2012 16:57:21 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa06.fnfis.com (8.14.5/8.14.5) with ESMTP id qBHGvIDX002186 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 17 Dec 2012 10:57:18 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.31) with Microsoft SMTP Server (TLS) id 14.2.309.2; Mon, 17 Dec 2012 10:57:17 -0600 Subject: Re: using AWK MIME-Version: 1.0 (Apple Message framework v1283) From: Devin Teske In-Reply-To: <20121217172316.79d8e198.freebsd@edvax.de> Date: Mon, 17 Dec 2012 08:57:16 -0800 Message-ID: <0EFF6378-A6EE-4222-8F3A-5F437E69D3BB@fisglobal.com> References: <1355744359.61103.YahooMailNeo@web160104.mail.bf1.yahoo.com> <18B0C79B-AF04-48D1-AF26-1B8A8B3641C1@fisglobal.com> <20121217172316.79d8e198.freebsd@edvax.de> To: Polytropon X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2012-12-17_03:2012-12-17,2012-12-17,1970-01-01 signatures=0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Devin Teske , FreeBSD Questions , Jack Mc Lauren X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 16:57:22 -0000 On Dec 17, 2012, at 8:23 AM, Polytropon wrote: > On Mon, 17 Dec 2012 08:16:26 -0800, Devin Teske wrote: >>=20 >> On Dec 17, 2012, at 3:39 AM, Jack Mc Lauren wrote: >>=20 >>> Hi guys >>>=20 >>> How can I read a file which contains a number and assign that number to= a variable via awk programming? By the way, I want to use this awk program= in a shell script. >>>=20 >>> Thanks in advance >>=20 >> Try this: >>=20 >> awk -v file=3D/etc/ttys 'BEGIN { getline line =20 > Or more verbose: >=20 >=20 >=20 >=20 > #!/bin/sh >=20 > filename=3D$1 >=20 > echo "file is ${filename} with content:" > cat ${filename} >=20 > echo "calling awk..." > awk -v filename=3D$filename "BEGIN {=20 > getline no < filename > close filename > print no > print no * 2 > }" >=20 >=20 >=20 >=20 > # EXAMPLE: > # -------- > # > # % ./awkvar.sh /tmp/no.txt > # file is /tmp/no.txt with content: > # 12345 > # calling awk... > # 12345 > # 24690 >=20 >=20 >=20 > The example shows how to use the variable inside awk. You > could get rid of the getline function in case the file > contains only the number you're interested in. If you need > further processing of the file, you can do that inside > awk (e. g. omitting comment lines, obtain data from a given > line number of specific pattern). >=20 >=20 >=20 >=20 > --=20 > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 17:45:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5E74C0 for ; Mon, 17 Dec 2012 17:45:32 +0000 (UTC) (envelope-from geo.liaskos@gmail.com) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx1.freebsd.org (Postfix) with ESMTP id 761BE8FC18 for ; Mon, 17 Dec 2012 17:45:32 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id hm9so2144334wib.13 for ; Mon, 17 Dec 2012 09:45:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=r0YeG5UhJ5nEJLF7uzwX08jKkFJ8q1cF/gj5Q3sSBRQ=; b=zb3wpa8guHgPjNEv5U4UUxLR8XiK1TT2wJ8MBoAY/b8r+IBYX/zLoxZPnaPHwFiACh op6Cr+j6ew1jUbQWGGhycomGUH62xd67/+S3RLJzq09EjfFcq3asmmmh0NFqroSrGN48 YxHt9B8m/f5L6Pks0MKrRqsAwq4aWeNWXCdUdtMw/DFRegth1gOfzwKKY/YA5mhmhmst 6+UPBjuiSLfZHebaTAKX2GGjcxnzWZl6eyd9yxgtW5Wbm5+LdSVoa2tXbe0hdjM/eMNP P/0rGjxWRKTjd8G+KYQc1TgG1eMHttNpow0JQvCgsfEd0Q4GYg85dwdHtT6quC7ZvSrm yJUg== MIME-Version: 1.0 Received: by 10.180.74.20 with SMTP id p20mr17268112wiv.0.1355766331331; Mon, 17 Dec 2012 09:45:31 -0800 (PST) Received: by 10.195.12.113 with HTTP; Mon, 17 Dec 2012 09:45:31 -0800 (PST) In-Reply-To: <20121217155015.M90220@ezo.net> References: <20121217155015.M90220@ezo.net> Date: Mon, 17 Dec 2012 19:45:31 +0200 Message-ID: Subject: Re: FreeBSD/EC2 -9.0-Current 2011-01-01 (ami-f4db2a9d) From: George Liaskos To: jflowers Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 17:45:33 -0000 The ami you are using is obsolete, according to [1] ami-5339bb3a is what you probably want. I am using pkgng with no problems, just launch the ami in a micro instance. No need for workarounds. [1] http://www.daemonology.net/freebsd-on-ec2/ On Mon, Dec 17, 2012 at 6:19 PM, jflowers wrote: > I'm working my way through a re-education for EC2. I read a lot of posts > but find it confusing to keep up with the current state of the art as to > what information is applicable and what is not: > > 1. I had convinced myself that I was being told that I had to use a Windows > instance but then found this AMI. It launched for T1.micro, always with the > note that it was available for the free-tier which is important to me. Have > I been too optimistic or is it, indeed, running with the free-tier > restrictions? > > 2. Unfortunately, after I had spent a couple of hours on installing ports, I > installed pkgng. It seemed to install OK but then when I ran pkg2ng it > didn't work throwing the following error message twice. > > /libexec/ld-elf.so.1: Undefined symbol "Quiet" referenced from COPY > relocation in /usr/sbin/pkg_info. > > and then ... > > Conversion has been successfully finished > Your old packages database has been moved to: /var/db/pkg.bak > > There is no sign of a pkg.bak anywhere on the machine and, of course, pkg_* > tools don't work. /var/db/pkg is still fully populated with what looks like > the correct files. There is also no perl installed > > So my question is "Is there any way I can recover pkg_* tools or get pkgng > to function? With only a couple of hours in it, I'm tempted to just start > over and use one of the RELEASE AMIs. > > 3. I also noted a thread where Colin Percival talked about an initial launch > as c1.medium to set things up and then restarting as t1.micro. Won't this > trigger a minimum bill for 1 month being added to my free-tier $0.00? > > Thanks for any help responses to get me pointed in the right direction. > > -- > Jim Flowers > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 19:02:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B547E3CE for ; Mon, 17 Dec 2012 19:02:41 +0000 (UTC) (envelope-from matthias@d2ux.net) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id 686388FC0C for ; Mon, 17 Dec 2012 19:02:38 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id C3FAA84F2D6E for ; Mon, 17 Dec 2012 19:55:12 +0100 (CET) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id OJL7T3f-MJNt for ; Mon, 17 Dec 2012 19:55:11 +0100 (CET) Received: from www.s1.d2ux.org (unknown [10.0.0.4]) by mail.s1.d2ux.org (Postfix) with ESMTP id 271BC84F2D6A for ; Mon, 17 Dec 2012 19:55:11 +0100 (CET) Received: from p5DDABCE3.dip.t-dialin.net (p5DDABCE3.dip.t-dialin.net [93.218.188.227]) by d2ux.org (Horde Framework) with HTTP; Mon, 17 Dec 2012 19:55:11 +0100 Date: Mon, 17 Dec 2012 19:55:11 +0100 Message-ID: <20121217195511.Horde.WiYpoIyApmatxN7nK60how2@d2ux.org> From: Matthias Petermann To: freebsd-questions@freebsd.org Subject: "last" not showing recent login activity User-Agent: Internet Messaging Program (IMP) H5 (6.0.2) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 19:02:41 -0000 Hello, on one of my systems I just found out that "last" only shows some old login / logout activity, but not the recent actvities. The strange thing... everytime I log into the system, /var/log/utx.log gets update to the current timestamp (and also grows by some bytes). But "last" only shows very old data... srv# last -f utx.log -d 20121218 matthias pts/3 Mon Dec 3 23:32 still logged in matthias pts/2 Mon Dec 3 23:31 still logged in Is there any reason why I can't see the recent logins there? Which component does write data to utx.log - is this done via syslog or a lower level mechanism? Thanks, Matthias From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 19:13:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EEFA58AC for ; Mon, 17 Dec 2012 19:13:26 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 74E058FC0C for ; Mon, 17 Dec 2012 19:13:26 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c13so3417187eek.13 for ; Mon, 17 Dec 2012 11:13:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=UxG65QqC3mhPReTMpVDtSQktqp9nmWJYyQCSyMQR9Tk=; b=b8XWW37FMgFgcjiHUaAi6UxurVuMuBNIuef/C0A+UK7t/PYGwNNplBsZf3CrIwNKQw jgjzLBf7nkwUtyfWr9Mb27BqlK/sMO3gLI4De5S/zEPUBsNiJEZRrgACo6cWsB1BLEKi Q3mjfCG2mFkOhJJqkH2EMm0E4MsfCrYTnD2i9hJKoDwFt8tNejtUlz3Ld9AcPcKFx8Mn 9k0UruXW/mwGp9HumS+Jkv9whVG9sirrnHQbqhQNSrjoRqHR4u5Y7iAW7YbprGv2p4Pf k5J3pM4WHwuCM/Qyao4OZ40DT+OO9LL5WEjcD8FH6rUxGCZX+DxXNKlptRLd5UU/4aMv 6mFw== MIME-Version: 1.0 Received: by 10.14.223.200 with SMTP id v48mr43407499eep.24.1355771605389; Mon, 17 Dec 2012 11:13:25 -0800 (PST) Received: by 10.14.202.135 with HTTP; Mon, 17 Dec 2012 11:13:25 -0800 (PST) Date: Mon, 17 Dec 2012 21:13:25 +0200 Message-ID: Subject: making a custom iso From: Omer Faruk SEN To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 19:13:27 -0000 Hi , I have just build a custom iso using cd /usr svn co http://svn.freebsd.org/base/stable/9 src cd src make buildworld buildkernel cd release make release make install DESTDIR=/var/freebsd-snapshot Svn Revision is r244359 (9.1-RELEASE is r243825) but after install when i do uname -a I get 9.1-PRERELEASE I think http://svn.freebsd.org/base/stable/9 should be updated to 9-Stable Regards. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 19:38:20 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B5691768 for ; Mon, 17 Dec 2012 19:38:20 +0000 (UTC) (envelope-from info@offdocs.com) Received: from smtpout9.kdn.co.ke (smtpout9.kdn.co.ke [196.216.64.185]) by mx1.freebsd.org (Postfix) with ESMTP id 49B7D8FC0C for ; Mon, 17 Dec 2012 19:38:20 +0000 (UTC) Received: from smtpout9.kdn.co.ke (localhost [127.0.0.1]) by smtpout9.kdn.co.ke (Postfix) with ESMTP id 9197D1985D for ; Mon, 17 Dec 2012 22:10:25 +0300 (EAT) X-Virus-Scanned: amavisd-new at smtpoutmaster.kdn.co.ke Received: from smtpout9.kdn.co.ke ([127.0.0.1]) by smtpout9.kdn.co.ke (smtpout9.kdn.co.ke [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tIDBQ1kybCsD for ; Mon, 17 Dec 2012 22:10:24 +0300 (EAT) Received: from smtp.kdn.co.ke (smtp.kdn.co.ke [41.72.219.109]) by smtpout9.kdn.co.ke (Postfix) with ESMTP id DC8651F441 for ; Mon, 17 Dec 2012 17:51:09 +0300 (EAT) Received: from User19 (unknown [41.84.156.134]) by smtp.kdn.co.ke (Postfix) with ESMTP id 7C0B347888F for ; Mon, 17 Dec 2012 06:18:29 +0300 (EAT) Message-ID: <00d957c5-41260-afa57534689583@user19> From: "Offdocs kenya" To: questions@freebsd.org Subject: HR, legal and business documents in kenya Date: Mon, 17 Dec 2012 18:04:59 +0300 MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Priority: 3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Offdocs kenya List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 19:38:20 -0000 Get Instant Access to 1,200+ Kenyan Business and Legal Templates. Get over Ksh100,000 worth of document templates for just Ksh 2000 (That's only Ksh2 per doc!) >From contract writing to daily communications, client acquisition, business management, HR management, accounting and more! Written by lawyers, consultants and specialized professionals, all documents have been formatted with standard fonts and appearance to help you maintain a professional corporate image. View the Full list of Documents you will get: http://www.offdocs.com/document-list.htm Pricing: http://www.offdocs.com/pricing.htm Why create documents from scratch when you can have an entire suite of tried and tested business documents available to you at the click of a button? For more Information Please contact us at info@offdocs.com From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 21:23:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA67D5A8 for ; Mon, 17 Dec 2012 21:23:05 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 346308FC13 for ; Mon, 17 Dec 2012 21:23:05 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qBHLMxAo049104 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 17 Dec 2012 21:23:00 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qBHLMxAo049104 Authentication-Results: smtp.infracaninophile.co.uk/qBHLMxAo049104; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) Message-ID: <50CF8D2B.6010908@FreeBSD.org> Date: Mon, 17 Dec 2012 21:22:51 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: "last" not showing recent login activity References: <20121217195511.Horde.WiYpoIyApmatxN7nK60how2@d2ux.org> In-Reply-To: <20121217195511.Horde.WiYpoIyApmatxN7nK60how2@d2ux.org> X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig02DFAD5B04F32A73B5D19FFB" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 21:23:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig02DFAD5B04F32A73B5D19FFB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 17/12/2012 18:55, Matthias Petermann wrote: > Hello, >=20 > on one of my systems I just found out that "last" only shows some old > login / logout activity, but not the recent actvities. >=20 > The strange thing... everytime I log into the system, /var/log/utx.log > gets update to the current timestamp (and also grows by some bytes). >=20 > But "last" only shows very old data... >=20 > srv# last -f utx.log -d 20121218 > matthias pts/3 Mon Dec 3 23:32 still > logged in > matthias pts/2 Mon Dec 3 23:31 still > logged in >=20 > Is there any reason why I can't see the recent logins there? Which > component does write data to utx.log - is this done via syslog or a > lower level mechanism? http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dbin/168844 Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig02DFAD5B04F32A73B5D19FFB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDPjTMACgkQ8Mjk52CukIw9hgCdETIYHwpv4hixQV7zqata31v8 6C8An1+5hRSUKq8Ekh3a5oDmoTu1KyBt =mXCo -----END PGP SIGNATURE----- --------------enig02DFAD5B04F32A73B5D19FFB-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 21:38:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 98245BF7 for ; Mon, 17 Dec 2012 21:38:53 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 164508FC12 for ; Mon, 17 Dec 2012 21:38:52 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qBHLcl9N049524 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 17 Dec 2012 21:38:47 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qBHLcl9N049524 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1355780327; bh=3D+ErJ420qZkoeUZIBS/VlDjPxqi6YoVb+6zlDHrdHU=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Mon,=2017=20Dec=202012=2021:38:45=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20"last"=20not=20showing=20recent=2 0login=20activity|References:=20<20121217195511.Horde.WiYpoIyApmat xN7nK60how2@d2ux.org>=20<50CF8D2B.6010908@FreeBSD.org>|In-Reply-To :=20<50CF8D2B.6010908@FreeBSD.org>; b=EMfdKq5dSJyav8IV3WdwVsZkPpDESZpIgbcc7urVKhjEYtIo+DM5cDTbiBfM9Wrz5 eEcsSFMbWq5iVewBH8475Cfdx9uzw4Mn5DF0vDycELhRV2wyPl2aeHFMOMFMqE67dP CO3NM8Etqg8et8YITpQ0VlJykPduankIpg+Ylr3c= Message-ID: <50CF90E5.7000505@infracaninophile.co.uk> Date: Mon, 17 Dec 2012 21:38:45 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: "last" not showing recent login activity References: <20121217195511.Horde.WiYpoIyApmatxN7nK60how2@d2ux.org> <50CF8D2B.6010908@FreeBSD.org> In-Reply-To: <50CF8D2B.6010908@FreeBSD.org> X-Enigmail-Version: 1.4.6 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBCE0238D3C12C7A572FA4878" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 21:38:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBCE0238D3C12C7A572FA4878 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 17/12/2012 21:22, Matthew Seaman wrote: > On 17/12/2012 18:55, Matthias Petermann wrote: >> Hello, >> >> on one of my systems I just found out that "last" only shows some old >> login / logout activity, but not the recent actvities. >> >> The strange thing... everytime I log into the system, /var/log/utx.log= >> gets update to the current timestamp (and also grows by some bytes). >> >> But "last" only shows very old data... >> >> srv# last -f utx.log -d 20121218 >> matthias pts/3 Mon Dec 3 23:32 still >> logged in >> matthias pts/2 Mon Dec 3 23:31 still >> logged in >> >> Is there any reason why I can't see the recent logins there? Which >> component does write data to utx.log - is this done via syslog or a >> lower level mechanism? >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dbin/168844 Errr... OK. Yours is a different issue with utx.log. It is not syslog that updates utx.log but the various programs like login(1) or sshd(8) that actually handle the authentication when you try and log in. Most applications achieve that via the pam_lastlog(8) module. As to why you cannot see anything in the file beyond a certain point: perhaps the file data got corrupted in the middle? You might be able to tell by examining the file with hd(1) or getent(1) -- try: getent utmpx log /var/log/utx.log You might also fine the getutxent(3) man page enlightening. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --------------enigBCE0238D3C12C7A572FA4878 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDPkOcACgkQ8Mjk52CukIzjrQCgg4Y0bpAWlybA7kLnx09u1t76 eawAnRYYsvGnEiDaimEg0WY1C5oOLPIg =gweo -----END PGP SIGNATURE----- --------------enigBCE0238D3C12C7A572FA4878-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 21:45:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B721F62 for ; Mon, 17 Dec 2012 21:45:10 +0000 (UTC) (envelope-from elias_chr@otenet.gr) Received: from sphinx.otenet.gr (sphinx.otenet.gr [83.235.69.19]) by mx1.freebsd.org (Postfix) with ESMTP id B15318FC1B for ; Mon, 17 Dec 2012 21:45:09 +0000 (UTC) Received: from pluto.universe (athedsl-4487856.home.otenet.gr [94.71.70.184]) by sphinx.otenet.gr (ESMTP) with ESMTP for ; Mon, 17 Dec 2012 23:45:01 +0200 (EET) From: Elias Chrysocheris To: freebsd-questions@freebsd.org Subject: KDE4 has no FolderView in FreeBSD 9.1-RELEASE Date: Mon, 17 Dec 2012 23:45:00 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-RELEASE; KDE/4.8.4; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201212172345.00903.elias_chr@otenet.gr> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 21:45:10 -0000 Hello, I installed FreeBSD 9.1 4 days ago. After compiling KDE4 I cannot find the fodlerview plasmoid (shouldn't it be installed using the deskutils/kdeplasma- addons port?). I didn't find another port containing the plasmoid in question. In FreeBSD 8.3 I had it in my system... Thanks in advance Elias From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 22:00:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24C666FF for ; Mon, 17 Dec 2012 22:00:21 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 6BBD08FC1E for ; Mon, 17 Dec 2012 22:00:13 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id qBHM06N6005436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 17 Dec 2012 16:00:06 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 17 Dec 2012 16:00:06 -0600 From: dweimer To: FreeBSD Questions Subject: Curious question about using zfs send -R and receive on FreeBSD Organization: dweimer.net Mail-Reply-To: Message-ID: <2930c477429212255788f1a2c90aa202@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 22:00:21 -0000 I recently migrated a machine that was built on a VM to physical hardware using the zfs send -R option against a snapshot of its root zfs setup. I went from smaller drives to larger, both using a mirrored zpool. However the devices were different, the device IDs on the VM were da0 and da1, the device IDs on the physical hardware were ada0 and ada1. I had used labels when creating the gpt layout to plan for this. And all worked great, in fact it was the fastest I have ever converted a virtual machine to a physical machine. After I finished though, I got curious, was it actually necessary for me to mount the new boot zfs partition while running on the live cd and copy the zpool.cache file I had created when creating the zpool or would have the existing cache file that would have been included in the zfs send contained the right information? As the zpool was pointed at the gpt label devices, or was the fact that the size changed enough difference that copying the file was indeed necessary? -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 01:21:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3061CD1D for ; Tue, 18 Dec 2012 01:21:00 +0000 (UTC) (envelope-from luke@bowbak.org) Received: from mail-ee0-f43.google.com (mail-ee0-f43.google.com [74.125.83.43]) by mx1.freebsd.org (Postfix) with ESMTP id B5AE68FC1A for ; Tue, 18 Dec 2012 01:20:59 +0000 (UTC) Received: by mail-ee0-f43.google.com with SMTP id e49so20203eek.2 for ; Mon, 17 Dec 2012 17:20:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=jbn5rfKjR8wXkvvyPnZcaxfJs8HZiFnIuDHtaLoYcDI=; b=h/7oiKuOmRkSoxNlFoLQZxfDDoToFv0c5TsjlObWr+C+g6LSEPdxwkqpLJGtC1AJAA C0Fqg4MJRYfc3gjMR8MeR2Aa0Rd9ZPHjBKDP/TGoOnqnK8LddYJn3FLvqnx63IKjrW/q AEAtDRm0T5YzCPeNZBOi8S0eTx7G/ZEI7eLxCAduHCyW/AgPHZcd+pDnm6YDVnTfiw2s TDP3ZuhdMyUDeEZjmfaTKeMRmdFdzOPHU8F3KPAPgtmEjm4s+sfSuMrnaZTOo0fuNC9m SwP8jk1+cHngeWWLiRIftevJNX7lM4tLmstfI/KeRdTA2YvuY5exGV4Cqeij/hqtR6Gn vTyA== MIME-Version: 1.0 Received: by 10.14.225.72 with SMTP id y48mr278900eep.46.1355789738485; Mon, 17 Dec 2012 16:15:38 -0800 (PST) Received: by 10.14.118.80 with HTTP; Mon, 17 Dec 2012 16:15:38 -0800 (PST) X-Originating-IP: [67.168.115.71] Date: Mon, 17 Dec 2012 16:15:38 -0800 Message-ID: Subject: FreeBSD as VMWare guest / disk resizing From: Luke Bakken To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQm1mGzOfGwGsp7NpIeR5mLtJfQPHKzopt43d633+ThI8QaEGdim8LEzoJPRsShk/f/IVbVF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 01:21:00 -0000 Hello everyone - I'm looking for a way to get FreeBSD 8 / 9 to detect that an already existing disk has grown. I have FreeBSD running as a guest within vSphere ESX 5. Here is the output of camcontrol showing how the disks are detected within the OS: [root@QA1HWFBSD83201 ~]# camcontrol inquiry da0 pass0: Fixed Direct Access SCSI-2 device pass0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Command Queueing Enabled In the VM settings I can increase the disk size but I can't seem to find the right command within FreeBSD to force it to detect the new, larger size without a reboot. 'camcontrol rescan all' works great to detect a new drive but doesn't detect a larger disk. Within a Linux distribution like Debian, the following command will detect the larger drive: echo 1 > /sys/class/scsi_device/0:0:0:0/device/rescan I apologize if this has been answered in the archives or online but I just haven't been able to get a definitive answer if this is possible, and how. Thanks so much in advance, Luke From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 01:27:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20125F7A for ; Tue, 18 Dec 2012 01:27:36 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id D30DD8FC12 for ; Tue, 18 Dec 2012 01:27:35 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa02.fnfis.com (8.14.5/8.14.5) with ESMTP id qBI1RXDC030124 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 17 Dec 2012 19:27:33 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.31) with Microsoft SMTP Server (TLS) id 14.2.309.2; Mon, 17 Dec 2012 19:27:32 -0600 Subject: Re: FreeBSD as VMWare guest / disk resizing MIME-Version: 1.0 (Apple Message framework v1283) From: Devin Teske In-Reply-To: Date: Mon, 17 Dec 2012 17:27:31 -0800 Message-ID: <3EB59092-BFE2-4C5F-85A2-E225FBC3F5D9@fisglobal.com> References: To: Luke Bakken X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2012-12-18_01:2012-12-17,2012-12-18,1970-01-01 signatures=0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 01:27:36 -0000 It can be done but it's not easy and not pretty. You'll have to rewrite the partition scheme to grow *only* the last partiti= on and then use growfs on the last partition to zero the new inodes within = its newly defined range. You'll of course need to boot from another medium to do this. I usually use DruidBSD for this: DruidBSD-1.0b1.iso (a tiny 23.5MB ISO that you can write to thumb disk with dd or burn to cd; = either works fine) Boot from it and use the tools like "disklabel -e /dev/yourdisk" But=85 be extremely careful and do your mathematics! I know this isn't a complete step-by-step guide, but I wanted to get the an= swer out there that this is possible and it's a known quantity, but it can = be dangerous if you get the math wrong when editing the disklabel positions= , for example. If you can get that part right, the rest is easy (growfs). --=20 Devin On Dec 17, 2012, at 4:15 PM, Luke Bakken wrote: > Hello everyone - >=20 > I'm looking for a way to get FreeBSD 8 / 9 to detect that an already > existing disk has grown. I have FreeBSD running as a guest within > vSphere ESX 5. Here is the output of camcontrol showing how the disks > are detected within the OS: >=20 > [root@QA1HWFBSD83201 ~]# camcontrol inquiry da0 > pass0: Fixed Direct Access SCSI-2 device > pass0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Command > Queueing Enabled >=20 > In the VM settings I can increase the disk size but I can't seem to > find the right command within FreeBSD to force it to detect the new, > larger size without a reboot. 'camcontrol rescan all' works great to > detect a new drive but doesn't detect a larger disk. Within a Linux > distribution like Debian, the following command will detect the larger > drive: >=20 > echo 1 > /sys/class/scsi_device/0:0:0:0/device/rescan >=20 > I apologize if this has been answered in the archives or online but I > just haven't been able to get a definitive answer if this is possible, > and how. >=20 > Thanks so much in advance, > Luke > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 01:55:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB5554DF for ; Tue, 18 Dec 2012 01:55:52 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm7-vm0.bullet.mail.ukl.yahoo.com (nm7-vm0.bullet.mail.ukl.yahoo.com [217.146.183.236]) by mx1.freebsd.org (Postfix) with ESMTP id 505BE8FC0C for ; Tue, 18 Dec 2012 01:55:51 +0000 (UTC) Received: from [217.146.183.210] by nm7.bullet.mail.ukl.yahoo.com with NNFMP; 18 Dec 2012 01:55:45 -0000 Received: from [77.238.184.72] by tm3.bullet.mail.ukl.yahoo.com with NNFMP; 18 Dec 2012 01:55:45 -0000 Received: from [127.0.0.1] by smtp141.mail.ukl.yahoo.com with NNFMP; 18 Dec 2012 01:55:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1355795745; bh=7x+U4E0PPHLU3LoA846ZvwKDgWJHE0O7QaX1o+5jXik=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=oc/Qn814phHe5v+T9Im1Eg44or5ZHVYnfhBEMdaBrTrV7RsHTnQ/fpMh2H756aYfI8as8UDEBP3RPkxeAfUkQY1kVwr6e+FtIOaqCALhWWQUZAqe61cdt9+nv1v2+bY2g3FIVMsvpGClXPeGq2aGiY2NubIJdVTmkjj50ZyjRb0= X-Yahoo-Newman-Id: 598320.89980.bm@smtp141.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: oefnPJoVM1nWx_Jj4XXv0Yg8._.PGPP7WRRPLOKidQAOWDz DpP6JhVDnOmopPYfRV6L4dELytfEyWgdP8RSEQtq1NJ_K9jqZeRBK4TdwExi 0Vt1buW4e96nhaSrw_ki7BrrUibWa8.BcXGgg_U0ziEbf5D6EEAASMvmAYgI lY8MVaEz7wOQxnMztLZQ44Q2XmIF7XmjsFFt3z3aTprn7nvVbK7LKJxVm3aA N2TsXi_9xrh754BobuL5bkxae3s8Ha5wYWjFJyxkfqkEOqQPX3Dq6MxRYS.m aUszMC4VoyvAQDFTH16X.woRYOQQC7ia1kWN8zCtwiKrIemGCcD_38beIZ__ cH.l2thXzkfVsU_ZyeudX_Gl.mRXnx9cuDe9m9szbHfO.7hZi1gDXPPWB106 qBtwhIxI6Abvc64Wc2nkJ2Vn.6gu8VcJoeJncvg-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [92.231.6.189] (ralf.mardorf@92.231.6.189 with login) by smtp141.mail.ukl.yahoo.com with SMTP; 18 Dec 2012 01:55:45 +0000 GMT Message-ID: <1355795745.2478.282.camel@q> Subject: Re: Partitioning - please not that again From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Tue, 18 Dec 2012 02:55:45 +0100 In-Reply-To: References: <1355702700.2452.32.camel@q> <20121217021723.35457dbd.freebsd@edvax.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 01:55:52 -0000 Several trials failed, but perhaps the kind of issues do lead to the cause. I'll describe one trial. Power on -> Enter to boot -> Shell -> # sysinstall -> Standard -> set up MBR partition -> ada0 -> keep geometry: yes -> Offset Size(ST) End Name PType Desc Subtype Flags 0 63 62 - 12 unused 0 63 121274433 1212574495 ada0s1 8 freebsd 165 121274496 250 121274745 - 12 unused 0 121274746 503862599 625137344 ada0s2 4 ext.DOS 5 625137345 5103 625142447 - 12 unused 0 Q = Finish -> Boot manager: None -> For other trials I also used W instead of Q and/or I deleted and created ada0s1. I always get: "Disc slicing warning: chunk Вґada0s2Вґ [121274746..625137344] does not start on track boundary" ok --> ok -> create BSD partition: ok -> Disk: ada0 Partition name: adaos1 Free: 121274433 blocks (59216MB) (No Entries before) A = Auto Defaults -> Part Mount Size Newfs ada0s1a / 1024MB UFS2 Y ada0s1b swap 4096MB SWAP ada0s1d /var 7916MB UFS2+S Y ada0s1e /tmp 1024MB UFS2+S Y ada0s1f /usr 45156MB UFS2+S Y If I chose Create instead of Auto, there aren't enough MB available, I can chose Auto and than R (delete + merge), than there's enough space to continue with Create. For this trial I only used Auto. -> Q = Finish -> 6 Averaged User -> en Doc -> Port collection: Yes -> ok -> 1 CD/DVD -> "Message: Couldn't create directory /dist: Read-only file system" -> ok -> "Message: Error mounting /dev/cd0 on /dist: No such file or directory (2)" ok -> Adjust media configuration: yes -> Options -> Nothing edited -> Q(uit) -> Cancel -> "Installation...with some errors" (IOW no installation ;) -> ok -> Exit install -> # exit (Exit shell, back to installer) -> I continued this trial with the regular installer. Install -> Keymap..., Hostname..., [*] doc games lib32 ports [ ] src -> Partitioning: Manual -> ada0s1 57GB BSD -> Auto -> ada0 ok -> Partition (not entire Disk) -> Add Partition Type: freebsd Size: 2551kB Mountpoint *?* continuing didn't work Regards, Ralf From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 05:23:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B177EB for ; Tue, 18 Dec 2012 05:23:02 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by mx1.freebsd.org (Postfix) with ESMTP id E0B5E8FC0C for ; Tue, 18 Dec 2012 05:23:01 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id v19so201585obq.0 for ; Mon, 17 Dec 2012 21:23:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=COsX6KQssXB+87lYNdLhbVy+Rwa8UE6mbMvqYzQhZaY=; b=z6LXTMajJdxY5RVfR5a3ydzkPtgH847MbLYR/tf6zJ+fwPB66Cb/GoBsLej7jsz05A lSaAaZL4ZC9eFNoFI4krAiL8JgXmfIaoIBnmAnP4CeP1kNx5MJUVndHAHa27IReIzogL i2O+HVdAyEfWsG4HJ0WP7FpVUUpTzAkje3vwirNwQpTbVwWANqYzxYAsIk6rTebsAIWb 1idCGE7NoJC1VotZEM41ALdPhdqDrJLQHAkLCaJuUOYtB/2Xw10YhGxQrSSWp9IztNQI JjM6kLBwsWNxsUJ/YgW2YUuMj/VjoYP9PTghd6N+ILnQvI8LggYL5tpes9RQQvDNRa+o 5GvA== MIME-Version: 1.0 Received: by 10.182.69.36 with SMTP id b4mr530333obu.96.1355807796892; Mon, 17 Dec 2012 21:16:36 -0800 (PST) Received: by 10.182.158.137 with HTTP; Mon, 17 Dec 2012 21:16:36 -0800 (PST) Date: Tue, 18 Dec 2012 00:16:36 -0500 Message-ID: Subject: i386 vs. amd64 From: Aryeh Friedman To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 05:23:02 -0000 Ever since 8.X (my system is now 9.1-RC3 [done via csup]) been using i386 with the following main ports: x11-wm/xfce4 www/firefox www/linux-f10-flashplugin11 editors/libreoffice www/tomcat-7 www/apace22 devel/aegis (I am the maintainer) devel/fhist devel/cook java/openjdk6 emulation/virtualbox-ose (and additions) print/cups I have avoided amd64 in the past due to some or not all them working, but want to switch if possible because PAE seems to be broken now on i386. So I have the following questions: 1. Will all the above ports (and their dependencies) work on amd64? 2. Is there any way to do a in place switch to amd64 or do I need to rebuild the system from the ground up? 3. In general is amd64 now as capable of handling ports and such as well as i386 does? From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 05:49:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FE007D1 for ; Tue, 18 Dec 2012 05:49:04 +0000 (UTC) (envelope-from jack.mclauren@yahoo.com) Received: from nm11.bullet.mail.bf1.yahoo.com (nm11.bullet.mail.bf1.yahoo.com [98.139.212.170]) by mx1.freebsd.org (Postfix) with ESMTP id 3D1FC8FC1B for ; Tue, 18 Dec 2012 05:49:04 +0000 (UTC) Received: from [98.139.212.147] by nm11.bullet.mail.bf1.yahoo.com with NNFMP; 18 Dec 2012 05:49:03 -0000 Received: from [98.139.212.196] by tm4.bullet.mail.bf1.yahoo.com with NNFMP; 18 Dec 2012 05:49:03 -0000 Received: from [127.0.0.1] by omp1005.mail.bf1.yahoo.com with NNFMP; 18 Dec 2012 05:49:03 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 485731.87970.bm@omp1005.mail.bf1.yahoo.com Received: (qmail 58031 invoked by uid 60001); 18 Dec 2012 05:49:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1355809743; bh=amk/Skb9funDykCDew5XCNxIrVSBMTw7qwrqR1ZcteE=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=vblidJCQ0px4czMy6Az/r3TJmYpxbeEVFDiVwO0eg6PCEigl4j64t43cOWfEXzm2NLz3dlufpVVCXJMZnuMXgbvx/nBgpqXRxiuDvuh3fJJF+twox/01zMTjrLQ8kjjaamDmWMuOEHyl2oMeWhZAYeluJec3tyDjWjlaNbbYRV8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=fGnq/5ffyrwhSnGVAUiJ6Y8hwTyhk7JWtp3BUgkFy9c72R3sbUcpJvKfb6lQ6mF0hR9n05g0Am/2qclvR5igU3sGixfv9otuzUGMy6cQNlO/98riro5KmvEUUYer/9gTHGT1xxRk9SzwV8uNl/GuGoLi/r+Dy2wX+zwaCFZr1QM=; X-YMail-OSG: vR0YlS0VM1lDpo3Ekgt5NswtTyAATz040sHT4zNEZ_k0eMM DOfXhw5pqHP7ngmG39D8g Received: from [89.165.120.140] by web160104.mail.bf1.yahoo.com via HTTP; Mon, 17 Dec 2012 21:49:03 PST X-Rocket-MIMEInfo: 001.001, SGkgYWxsCgpUaGFuayB5b3Ugc28gbXVjaCBteSBmcmllbmRzLMKgCkJlbgpGcmFuawpQb2x5dHJvcG9uCkRldmluCnlvdSBoZWxwZWQgbWUgc28gbXVjaCA6KQEwAQEBAQ-- X-Mailer: YahooMailWebService/0.8.129.483 Message-ID: <1355809743.24362.YahooMailNeo@web160104.mail.bf1.yahoo.com> Date: Mon, 17 Dec 2012 21:49:03 -0800 (PST) From: Jack Mc Lauren Subject: using AWK - Thanks :) To: FreeBSD Global Users Mailing List 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.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jack Mc Lauren List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 05:49:04 -0000 Hi all=0A=0AThank you so much my friends,=A0=0ABen=0AFrank=0APolytropon=0AD= evin=0Ayou helped me so much :) From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 05:49:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 03C71870 for ; Tue, 18 Dec 2012 05:49:28 +0000 (UTC) (envelope-from matthias@d2ux.net) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id A733C8FC17 for ; Tue, 18 Dec 2012 05:49:27 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id 500EE84F2CD8 for ; Tue, 18 Dec 2012 06:49:26 +0100 (CET) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id Lj9Xy_x-zuS8 for ; Tue, 18 Dec 2012 06:49:24 +0100 (CET) Received: from www.s1.d2ux.org (unknown [10.0.0.4]) by mail.s1.d2ux.org (Postfix) with ESMTP id 8753D84F2D6B for ; Tue, 18 Dec 2012 06:49:24 +0100 (CET) Received: from p5DDABAD0.dip.t-dialin.net (p5DDABAD0.dip.t-dialin.net [93.218.186.208]) by d2ux.org (Horde Framework) with HTTP; Tue, 18 Dec 2012 06:49:24 +0100 Date: Tue, 18 Dec 2012 06:49:24 +0100 Message-ID: <20121218064924.Horde.lzGJYCvT7TyAQBI_io0nyQ3@d2ux.org> From: Matthias Petermann To: freebsd-questions@freebsd.org Subject: Re: "last" not showing recent login activity References: <20121217195511.Horde.WiYpoIyApmatxN7nK60how2@d2ux.org> <50CF8D2B.6010908@FreeBSD.org> <50CF90E5.7000505@infracaninophile.co.uk> In-Reply-To: <50CF90E5.7000505@infracaninophile.co.uk> User-Agent: Internet Messaging Program (IMP) H5 (6.0.2) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 05:49:28 -0000 Hi Matthew, Zitat von Matthew Seaman : > Errr... OK. Yours is a different issue with utx.log. It is not syslog > that updates utx.log but the various programs like login(1) or sshd(8) > that actually handle the authentication when you try and log in. Most > applications achieve that via the pam_lastlog(8) module. > > As to why you cannot see anything in the file beyond a certain point: > perhaps the file data got corrupted in the middle? You might be able to > tell by examining the file with hd(1) or getent(1) -- try: > > getent utmpx log /var/log/utx.log > > You might also fine the getutxent(3) man page enlightening. Thanks - that's exactly the information I was looking for. I investigated the utx.log with getent and hd. Looks like your guess is proven - it contains definitely more data than last actually shows. I did not find the reason in detail yet but I could track this down to an event occured on the affected machine during the time of the last shown data (had to perform a hardware reset due to a hanging FS snapshot, causing me to do a manual fsck). Kind regards, Matthias From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 06:13:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 091E6CD2 for ; Tue, 18 Dec 2012 06:13:43 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id BF50B8FC0A for ; Tue, 18 Dec 2012 06:13:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=yqpmZ7qFOucz/m1xmqQKMu1lXBGJjQm7h11H9cQeomc=; b=TiW+03FBUIVSff1bRdmF2NZZ+mkt3ua7fezbPaRCpiPbXRKhXhWHg0SLN1ZvflrsxyFLhhVlq8rdgpLPIR6srgjTxaKHgY0eYdID5WnH9XZnIAwWf7xkOcKBA/MNXu8r; Received: from [122.129.203.50] (port=64645 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1TkqQv-002jY4-GH; Mon, 17 Dec 2012 23:13:42 -0700 Date: Tue, 18 Dec 2012 13:13:38 +0700 From: Erich Dollansky To: Aryeh Friedman Subject: Re: i386 vs. amd64 Message-ID: <20121218131338.356c12ef@X220.ovitrap.com> In-Reply-To: References: X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 06:13:43 -0000 Hi, wasn't the same question here a few days ago? On Tue, 18 Dec 2012 00:16:36 -0500 Aryeh Friedman wrote: > Ever since 8.X (my system is now 9.1-RC3 [done via csup]) been using > i386 with the following main ports: > > x11-wm/xfce4 yes. > www/firefox Yes. > www/linux-f10-flashplugin11 > editors/libreoffice Yes. > www/tomcat-7 > www/apace22 Typo? Apache 2.2 runs. > devel/aegis (I am the maintainer) > devel/fhist > devel/cook > java/openjdk6 > emulation/virtualbox-ose (and additions) > print/cups Yes. The ones I did not answer, I do not have installed. > > I have avoided amd64 in the past due to some or not all them working, > but want to switch if possible because PAE seems to be broken now on > i386. It was a big jump forward when I switched during 8.0 or 8.1. > > So I have the following questions: > > 1. Will all the above ports (and their dependencies) work on amd64? I gave you the answer if I knew one. I general, I do not have problems which are linked to 32 or 64 bits. > 2. Is there any way to do a in place switch to amd64 or do I need to > rebuild the system from the ground up? To my knowledge, it is still a fresh installation. Just download an image and start from there. > 3. In general is amd64 now as capable of handling ports and such as > well as i386 does? I saw that some ports I used to use on i386 went 100% smooth on amd64. I believe that this has improved even further. Just make the jump. Erich From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 08:39:48 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C46DEBA3 for ; Tue, 18 Dec 2012 08:39:48 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from eris.bzerk.org (unknown [IPv6:2001:980:18dd:1:192:168:179:45]) by mx1.freebsd.org (Postfix) with ESMTP id A30568FC0A for ; Tue, 18 Dec 2012 08:39:46 +0000 (UTC) Received: from eris.bzerk.org (BOFH@localhost [127.0.0.1]) by eris.bzerk.org (8.14.5/8.14.5) with ESMTP id qBI8dMU4007819 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 18 Dec 2012 08:39:39 GMT (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by eris.bzerk.org (8.14.5/8.14.5/Submit) id qBI8dMuX007818 for questions@freebsd.org; Tue, 18 Dec 2012 08:39:22 GMT (envelope-from mail25@bzerk.org) X-Authentication-Warning: eris.bzerk.org: bulk set sender to mail25@bzerk.org using -f Date: Tue, 18 Dec 2012 08:39:22 +0000 From: Ruben de Groot To: questions@freebsd.org Subject: resolvconf overwriting /etc/resolv.conf Message-ID: <20121218083922.GA7626@eris.bzerk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-11.0 required=5.0 tests=ALL_TRUSTED,AUTHD_RELAY autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eris.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (eris.bzerk.org [127.0.0.1]); Tue, 18 Dec 2012 08:39:41 +0000 (UTC) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 08:39:48 -0000 Hi, I run bind on a LAN, with some LAN-only (sub)domains. On the LAN is also a DSL modem/router that advertises ipv6 addresses. So far so good. However, since I upgraded the server from 8-STABLE to 9.1-PRERELEASE, the /etc/resolv.conf gets overwritten by the resolvconf script, with an ipv6 nameserver (presumably the router, haven't checked). This is not what I want. Now I see that you can prepend nameservers through /etc/resolvconf.conf, but what I really want is for resolvconf to leave my /etc/resolv.conf alone. Is there any way to disable the script (apart from deleting it)? thanks, Ruben From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 12:41:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D10EC10A for ; Tue, 18 Dec 2012 12:41:00 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7F5C28FC13 for ; Tue, 18 Dec 2012 12:41:00 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TkwTo-0001mx-JV for freebsd-questions@freebsd.org; Tue, 18 Dec 2012 13:41:04 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Dec 2012 13:41:04 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Dec 2012 13:41:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Obsolete Shared Libraries? Date: Tue, 18 Dec 2012 12:40:39 +0000 (UTC) Lines: 9 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 12:41:00 -0000 9.1 RC3 (started out as 9.0 RELEASE) Over time, as ports have been upgraded, I seem to have accumulated a number of obsolete shared libraries - a recent example being /usr/local/ lib/libpcre.so.1, which appears no longer to be linked in by anything, having been replaced by libpcre.so.3. Is there a convenient and safe utility to clean out this detritus? I'm not trying to save disk space or anything; it's just a matter of tidiness. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 12:55:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B86E3716 for ; Tue, 18 Dec 2012 12:55:45 +0000 (UTC) (envelope-from ateve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id 73C368FC0A for ; Tue, 18 Dec 2012 12:55:45 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1TkwiW-0007q6-Kn; Tue, 18 Dec 2012 12:56:16 +0000 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1Tkwht-0003aZ-KJ; Tue, 18 Dec 2012 12:55:37 +0000 Date: Tue, 18 Dec 2012 12:55:29 +0000 From: Steve O'Hara-Smith To: Walter Hurry Subject: Re: Obsolete Shared Libraries? Message-Id: <20121218125529.b34337d58e412d0c3f673c05@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 12:55:45 -0000 On Tue, 18 Dec 2012 12:40:39 +0000 (UTC) Walter Hurry wrote: > 9.1 RC3 (started out as 9.0 RELEASE) > > Over time, as ports have been upgraded, I seem to have accumulated a > number of obsolete shared libraries - a recent example being /usr/local/ > lib/libpcre.so.1, which appears no longer to be linked in by anything, > having been replaced by libpcre.so.3. > > Is there a convenient and safe utility to clean out this detritus? I'm > not trying to save disk space or anything; it's just a matter of tidiness. portsclean - it will also tidy up distfiles, packages and work areas. -- Steve O'Hara-Smith From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 13:47:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3FED9A24 for ; Tue, 18 Dec 2012 13:47:00 +0000 (UTC) (envelope-from solarwindow01@runbox.com) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) by mx1.freebsd.org (Postfix) with ESMTP id C86D38FC0A for ; Tue, 18 Dec 2012 13:46:59 +0000 (UTC) Received: from [10.9.9.206] (helo=mailfront02.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1TkxVZ-00087Q-5o for freebsd-questions@freebsd.org; Tue, 18 Dec 2012 14:46:57 +0100 Received: from 76-233-30-151.lightspeed.snantx.sbcglobal.net ([76.233.30.151]) by mailfront02.runbox.com with esmtpsa (uid:798040 ) (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) id 1TkxVX-0000KO-Ri for freebsd-questions@freebsd.org; Tue, 18 Dec 2012 14:46:56 +0100 From: "Dennis Roberts" Subject: Solar Windows - US Air Force Approved To: "freebsd-questions" MIME-Version: 1.0 Organization: Inflector Window Insulators Date: Tue, 18 Dec 2012 07:46:55 -0600 Message-Id: <20121218134700.3FED9A24@hub.freebsd.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 13:47:00 -0000 =EF=BB=BFSolar Collecter Windows (Interior Mounted) - University Teste= d and Solar Rejector Windows all in one =20 A 4' X 4' In'Flector window insulator can produce as much heat as a 60= 0 watt electrical heater per sunlight hour and reflect up to 72% of th= e room heat back into the room! During the summer, our product reduces= air infiltration up to 71%, stops solar heat gain up to 65%, and bloc= ks up to 90% of harmful UV rays for such customers as General Motors a= nd numerous Canadian Embassies! We would like you to consider offering= your customers truly energy efficient window insulators, roller blind= s, vertical blinds, or sliders. At the same time, we would like you to= be a supplier, distributor or manufacturer by adding another product = line for your customers to consider! We have been tested by two major = universities with outstanding results and we are located in the United= States, Canada, Dubai, England, Chileand Australia! =20 =20 Energy Efficiency Done Right invites you to a webinar with information= on chances in manufacturing or being a dealer of In'Flector See Throu= gh Radiant Barrier Window and Skylight Insulators. The webinar will ta= ke place on Tuesday, December 18th at 10:00AM(CST) The energy efficien= cy industry is projected to be a 40 billion dollar industry by the yea= r 2012, and a good portion of those funds should be dedicated to impro= ving the least energy efficient envelope component-the windows. If you= need more information please reply to this email. If you want to be a= part of this webinar please email back this information- your name, y= our business, your location, the market you desire to serve, your emai= l and a phone number. This is a true groundfloor opportunity in a fast= growing industry. Thank you for your consideration=20 =20 Unsubscribe by email =20 Inflector Window Insulators 10854 Lake Path=20 San Antonio, TX 78217 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 14:14:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F34163AB for ; Tue, 18 Dec 2012 14:14:11 +0000 (UTC) (envelope-from jnagyjr1978@gmail.com) Received: from mail-yh0-f53.google.com (mail-yh0-f53.google.com [209.85.213.53]) by mx1.freebsd.org (Postfix) with ESMTP id A3BAC8FC1E for ; Tue, 18 Dec 2012 14:14:11 +0000 (UTC) Received: by mail-yh0-f53.google.com with SMTP id q11so137185yhf.40 for ; Tue, 18 Dec 2012 06:14:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ynet06zDr/o6jjJPURwhgVMCJDkbqvxRdkFIwQDWwkw=; b=1ExVbWFwWG57Cwe2J9wPAVxUQLj4xHgvmWySfinViViXLwvB7jSg7JdyAiqPT6iXRU CqiQ7BbRBR+soVHmtlj6wmdTQ9bZo/hyIgCUh0ibCr2V9pJDFQQzy7Bomr3yXgFixViU yZxpgpoNNjnGy6DUzpaBfmhi6R5p9J/u4skWql4hrdQS9P8T/oLPMZftBbeznVV6CcAO zOcp2OBuT+AnDwmuvUVvDVLhMCE1sC+DzwkH4Q1W7AgZv0PWFc9Nc1A0GpazJrM3xz7K 15bti7WuiwWGVAaaGHgKBqjFFGbaDF+shfarXrVWqEFLa4ebmdNOQ006GqEXbbLxiFBI ScZg== X-Received: by 10.236.118.195 with SMTP id l43mr1755000yhh.58.1355838220655; Tue, 18 Dec 2012 05:43:40 -0800 (PST) Received: from [192.168.1.33] (vid-196.dhcp.grp10.tnmmrl.infoave.net. [204.116.254.196]) by mx.google.com with ESMTPS id l51sm1493106yhh.16.2012.12.18.05.43.39 (version=SSLv3 cipher=OTHER); Tue, 18 Dec 2012 05:43:39 -0800 (PST) Message-ID: <50D07309.5070004@gmail.com> Date: Tue, 18 Dec 2012 07:43:37 -0600 From: "Joseph A. Nagy, Jr" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: i386 vs. amd64 References: <20121218131338.356c12ef@X220.ovitrap.com> In-Reply-To: <20121218131338.356c12ef@X220.ovitrap.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 14:14:12 -0000 On 12/18/12 00:13, Erich Dollansky wrote: > Hi, > > wasn't the same question here a few days ago? > > On Tue, 18 Dec 2012 00:16:36 -0500 > Aryeh Friedman wrote: > >> Ever since 8.X (my system is now 9.1-RC3 [done via csup]) been using >> i386 with the following main ports: Let me chime in where Erich couldn't answer as I recently made the switch to amd64 myself. >> x11-wm/xfce4 > > yes. > >> www/firefox > > Yes. > >> www/linux-f10-flashplugin11 Yes >> editors/libreoffice > > Yes. > >> www/tomcat-7 >> www/apace22 > > Typo? Apache 2.2 runs. > >> devel/aegis (I am the maintainer) >> devel/fhist >> devel/cook >> java/openjdk6 Yes >> So I have the following questions: >> >> 1. Will all the above ports (and their dependencies) work on amd64? > > I gave you the answer if I knew one. I general, I do not have problems > which are linked to 32 or 64 bits. I've had no problems either, and I am in the middle of a devel/pcre rebuilding (over 200 ports). >> 2. Is there any way to do a in place switch to amd64 or do I need to >> rebuild the system from the ground up? > > To my knowledge, it is still a fresh installation. Just download an > image and start from there. I think the handbook gives directions for an in-place switch, but it (and many, many others) suggest a fresh install, which is what I went with (I had other reasons as well). >> 3. In general is amd64 now as capable of handling ports and such as >> well as i386 does? > > I saw that some ports I used to use on i386 went 100% smooth on amd64. > I believe that this has improved even further. > > Just make the jump. I agree, I've had no problems related to the arch since I switched and would 100% recommend it for anyone considering it. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 14:41:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E093F36 for ; Tue, 18 Dec 2012 14:41:26 +0000 (UTC) (envelope-from luke@bowbak.org) Received: from mail-ea0-f174.google.com (mail-ea0-f174.google.com [209.85.215.174]) by mx1.freebsd.org (Postfix) with ESMTP id E45078FC19 for ; Tue, 18 Dec 2012 14:41:25 +0000 (UTC) Received: by mail-ea0-f174.google.com with SMTP id e13so307440eaa.33 for ; Tue, 18 Dec 2012 06:41:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=PXhyz4r8DQYcUKr0Oo2Vb5nSEXFeeKJgaWGILFO2dlo=; b=myD7YEMDCIzE8GaWK+qC2+ckdwSJSHLHYRwbw4QaDX4oat1JNmhPR9Fmtn1w5wDOP6 1U0KQK26p0tDv+v+unwGJomh/EWeTuWr2qrWrPbM6oAK4S/hp69ARLgAhLXdvfQztTrO 1daM1bpM/eUDVfZAZq88UWrl0rl3khHikK2j6PK3MEXgyYblK938lyhB32R2uzmwlZ5F AughGQJPoasRyWqZHJTjgoYLPNEe45GhOvFkmKWm6UkWmm4GU8X2lBecPsesKP4ZbH+T uHi2kwYHTnxwiU2GJ0PyG2N4ViMrPUh3gNaZPk/NCZ9T/ok71EngxziWSiPRWhuC9FNX fcHA== MIME-Version: 1.0 Received: by 10.14.225.72 with SMTP id y48mr5924573eep.46.1355841331082; Tue, 18 Dec 2012 06:35:31 -0800 (PST) Received: by 10.14.118.80 with HTTP; Tue, 18 Dec 2012 06:35:30 -0800 (PST) X-Originating-IP: [67.168.115.71] In-Reply-To: <3EB59092-BFE2-4C5F-85A2-E225FBC3F5D9@fisglobal.com> References: <3EB59092-BFE2-4C5F-85A2-E225FBC3F5D9@fisglobal.com> Date: Tue, 18 Dec 2012 06:35:30 -0800 Message-ID: Subject: Re: FreeBSD as VMWare guest / disk resizing From: Luke Bakken To: Devin Teske Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkkNDo0XMElf+8pHq1FhwZGza1Gifv34IlzqEr5T9mjcu8DTPWfsZtjdC2B9eHm4gCO8COW Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 14:41:26 -0000 > You'll of course need to boot from another medium to do this. > That's my main question - can a larger disk be detected *without* a reboot. On FreeBSD instances running within VMWare I have been able to add new disks without a reboot but, as I described below, have not found a way to get the operating system to detect a larger *existing* disk without a reboot. VMWare allows you to resize a disk on the fly. Obviously I'm only interested in the "grow the disk" scenario :-) I'm beginning to think a reboot is necessary, which is surprising! > On Dec 17, 2012, at 4:15 PM, Luke Bakken wrote: > > Hello everyone - > > I'm looking for a way to get FreeBSD 8 / 9 to detect that an already > existing disk has grown. I have FreeBSD running as a guest within > vSphere ESX 5. Here is the output of camcontrol showing how the disks > are detected within the OS: > > [root@QA1HWFBSD83201 ~]# camcontrol inquiry da0 > pass0: Fixed Direct Access SCSI-2 device > pass0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Command > Queueing Enabled > > In the VM settings I can increase the disk size but I can't seem to > find the right command within FreeBSD to force it to detect the new, > larger size without a reboot. 'camcontrol rescan all' works great to > detect a new drive but doesn't detect a larger disk. Within a Linux > distribution like Debian, the following command will detect the larger > drive: > > echo 1 > /sys/class/scsi_device/0:0:0:0/device/rescan > > I apologize if this has been answered in the archives or online but I > just haven't been able to get a definitive answer if this is possible, > and how. > > Thanks so much in advance, > Luke > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > _____________ > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete the > message and all copies; (ii) do not disclose, distribute or use the message > in any manner; and (iii) notify the sender immediately. In addition, please > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 15:20:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2135396A; Tue, 18 Dec 2012 15:20:01 +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 C88618FC13; Tue, 18 Dec 2012 15:20:00 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id qBIFJqxh043372; Tue, 18 Dec 2012 08:19:52 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id qBIFJpiC043369; Tue, 18 Dec 2012 08:19:52 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 18 Dec 2012 08:19:51 -0700 (MST) From: Warren Block To: Luke Bakken Subject: Re: FreeBSD as VMWare guest / disk resizing In-Reply-To: Message-ID: References: <3EB59092-BFE2-4C5F-85A2-E225FBC3F5D9@fisglobal.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 18 Dec 2012 08:19:52 -0700 (MST) Cc: Devin Teske , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 15:20:01 -0000 On Tue, 18 Dec 2012, Luke Bakken wrote: >> You'll of course need to boot from another medium to do this. >> > > That's my main question - can a larger disk be detected *without* a > reboot. On FreeBSD instances running within VMWare I have been able to > add new disks without a reboot but, as I described below, have not > found a way to get the operating system to detect a larger *existing* > disk without a reboot. VMWare allows you to resize a disk on the fly. > Obviously I'm only interested in the "grow the disk" scenario :-) Force a GEOM retaste? # true > /dev/ada0 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 15:27:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 09BB3CA2; Tue, 18 Dec 2012 15:27:34 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id BD9D98FC0A; Tue, 18 Dec 2012 15:27:33 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa01.fnfis.com (8.14.5/8.14.5) with ESMTP id qBIFRQtC013349 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 18 Dec 2012 09:27:26 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.2.309.2; Tue, 18 Dec 2012 09:27:23 -0600 Subject: Re: FreeBSD as VMWare guest / disk resizing MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="iso-8859-1" From: Devin Teske In-Reply-To: Date: Tue, 18 Dec 2012 07:27:24 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: <2C81BCF0-1B29-41BD-B03D-35A35A01617A@fisglobal.com> References: <3EB59092-BFE2-4C5F-85A2-E225FBC3F5D9@fisglobal.com> To: Luke Bakken X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2012-12-18_05:2012-12-18,2012-12-18,1970-01-01 signatures=0 Cc: Devin Teske , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 15:27:34 -0000 On Dec 18, 2012, at 6:35 AM, Luke Bakken wrote: >> You'll of course need to boot from another medium to do this. >>=20 >=20 > That's my main question - can a larger disk be detected *without* a > reboot. On FreeBSD instances running within VMWare I have been able to > add new disks without a reboot but, as I described below, have not > found a way to get the operating system to detect a larger *existing* > disk without a reboot. VMWare allows you to resize a disk on the fly. > Obviously I'm only interested in the "grow the disk" scenario :-) >=20 > I'm beginning to think a reboot is necessary, which is surprising! Live resize (without reboot even) is something being worked on for the futu= re 10.x series. --=20 Devin >=20 >> On Dec 17, 2012, at 4:15 PM, Luke Bakken wrote: >>=20 >> Hello everyone - >>=20 >> I'm looking for a way to get FreeBSD 8 / 9 to detect that an already >> existing disk has grown. I have FreeBSD running as a guest within >> vSphere ESX 5. Here is the output of camcontrol showing how the disks >> are detected within the OS: >>=20 >> [root@QA1HWFBSD83201 ~]# camcontrol inquiry da0 >> pass0: Fixed Direct Access SCSI-2 device >> pass0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Command >> Queueing Enabled >>=20 >> In the VM settings I can increase the disk size but I can't seem to >> find the right command within FreeBSD to force it to detect the new, >> larger size without a reboot. 'camcontrol rescan all' works great to >> detect a new drive but doesn't detect a larger disk. Within a Linux >> distribution like Debian, the following command will detect the larger >> drive: >>=20 >> echo 1 > /sys/class/scsi_device/0:0:0:0/device/rescan >>=20 >> I apologize if this has been answered in the archives or online but I >> just haven't been able to get a definitive answer if this is possible, >> and how. >>=20 >> Thanks so much in advance, >> Luke >> _______________________________________________ >> 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 >> _____________ >> The information contained in this message is proprietary and/or >> confidential. If you are not the intended recipient, please: (i) delete = the >> message and all copies; (ii) do not disclose, distribute or use the mess= age >> in any manner; and (iii) notify the sender immediately. In addition, ple= ase >> be aware that any message addressed to our domain is subject to archiving >> and review by persons other than the intended recipient. Thank you. _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 15:45:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 37346FE3 for ; Tue, 18 Dec 2012 15:45:40 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) by mx1.freebsd.org (Postfix) with ESMTP id A5B2D8FC15 for ; Tue, 18 Dec 2012 15:45:39 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id l5so660079lah.25 for ; Tue, 18 Dec 2012 07:45:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=gWoS5LY3X5jQ8gQiw0m/v1K935vjkRCYHp3dJCmyyhU=; b=CkHvXMexjVASVk1zAaicZjydwWUD9marMOJoO96aHKVlwl5NxtPH/SmqCCgwAYic1M FR/b/rtfbLy6dXMOORd306fLWpmA/NvQg0WJGdsxXgVc4w/js2tka5iyPzqpewvt1+55 2KPuiAdk3hjkODQBiDHLj0nIiigEhzrU8gpHGumlDErFG3n/36OTrD6G9KJ5v3r0T3vz on9gSPa90loww0si+xTfyf8QYswNscYeHrcF2G/CUkHNDH9WXlCTf8jxyThKAxGcbLkS wHixZQwXxqX0DoYPdxiDsQnQw/UMCEvdeHuZ4715c+SyCYKGe92qX5UfdbHmFXSsajfo CqlQ== MIME-Version: 1.0 Received: by 10.152.111.166 with SMTP id ij6mr2260033lab.47.1355845532746; Tue, 18 Dec 2012 07:45:32 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.112.3.68 with HTTP; Tue, 18 Dec 2012 07:45:32 -0800 (PST) Date: Tue, 18 Dec 2012 10:45:32 -0500 X-Google-Sender-Auth: JdziY0pp4K3poCol3oQAoo3aUBY Message-ID: Subject: mfsroot starts sysinstall how? From: Rick Miller To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 15:45:40 -0000 Hi all, For anyone interested, I posted a blog with regards to how sysinstall is run from mfsroot. URL is http://blog.hostileadmin.com/2012/12/18/mfsroot-starts-sysinstall-how/ -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 15:46:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC7D011C for ; Tue, 18 Dec 2012 15:46:24 +0000 (UTC) (envelope-from lucian@lastdot.org) Received: from mail-oa0-f50.google.com (mail-oa0-f50.google.com [209.85.219.50]) by mx1.freebsd.org (Postfix) with ESMTP id 66EBD8FC0A for ; Tue, 18 Dec 2012 15:46:24 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id n16so776920oag.23 for ; Tue, 18 Dec 2012 07:46:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=OZIbrLV19SGBuzYYhWzV13gJYQM8xedqiB9cu3LGgkA=; b=S4Aw+TNyFqFqjZYcxa9jRss0btn5lgJyaKMvSMvOjt6Ds8STsetsvWI616BwFT2I9D d2ZXvHOitthQIutDWP8Y5Zs2Faw7XOhD1hlfvWEzlDbN1amuUtFOGO6HqY6XgLkFKfzq 43jJorPiUT1AbVvAtgR0rxJnV5bIpJoRpZFUmGasDoVF+OFSbyJeE3uK+H05kg22+z77 n7Bvw3vwkqzpuTxc3LTkkulXrc0esnb10wtXNzf3qi3iszrg59DEaY4cJ0ndWVxQ4QCl ygEAMzGDAip/POVzlmQq1RhWaxF/lumP4Q1a6r6VfUFDzemo9a2vp5tFDHzJY9FWNFNS mglA== MIME-Version: 1.0 Received: by 10.60.13.134 with SMTP id h6mr1873130oec.64.1355845087212; Tue, 18 Dec 2012 07:38:07 -0800 (PST) Received: by 10.76.114.101 with HTTP; Tue, 18 Dec 2012 07:38:07 -0800 (PST) In-Reply-To: <2C81BCF0-1B29-41BD-B03D-35A35A01617A@fisglobal.com> References: <3EB59092-BFE2-4C5F-85A2-E225FBC3F5D9@fisglobal.com> <2C81BCF0-1B29-41BD-B03D-35A35A01617A@fisglobal.com> Date: Tue, 18 Dec 2012 15:38:07 +0000 Message-ID: Subject: Re: FreeBSD as VMWare guest / disk resizing From: Lucian To: Devin Teske Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlmwDyfS3YLNRcILx6n91gsBbnkIyvBk2KVFQY5gJLMq/of1cwM349MUizD007b3AIgT4uB Cc: Luke Bakken , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 15:46:24 -0000 On 18 December 2012 15:27, Devin Teske wrote: > > On Dec 18, 2012, at 6:35 AM, Luke Bakken wrote: > Live resize (without reboot even) is something being worked on for the future 10.x series. Looking forward to this, we can't offer cloud instances with FreeBSD until this happens. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 17:07:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DD301F1 for ; Tue, 18 Dec 2012 17:07:33 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id D70758FC0A for ; Tue, 18 Dec 2012 17:07:32 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Tue, 18 Dec 2012 18:07:23 +0100 Message-ID: <50D0A2CB.5070507@ose.nl> Date: Tue, 18 Dec 2012 18:07:23 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: portmaster: hal-0.5.14_20 and xorg-server-1.7.7_6, 1 (re)installation fails Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 17:07:33 -0000 When running portmaster -d -w -r pcre because of the upgrade from pcre-8.31 to pcre-8.32 I encountered the following inconveniences: Upgrade to hal-0.5.14_20 failed with the message it needs intltool > 0.40 which was installed at the time. First upgrading to intltool-0.41.1 solved this. When reinstalling xorg-server-1.7.7_6,1 with portmaster today: Making install in xkb mkdir: /usr/local/share/X11/xkb/compiled: No such file or directory mkdir: /usr/local/share/X11/xkb/compiled: No such file or directory So I checked /usr/local/share/X11/xkb/compiled and this is a symlink to /var/lib/xkb which did not exist at the time. I created /var/lib/xkb and the installation went fine then. There is one file installed in this location: README.compiled This worked, but is it the right solution? Does anyone know what changed maybe? This is on 9.1-RELEASE with a portstree just updated with portsnap. Previous versions of the ports were from about 20 days ago. Everything is installed the standard way. Just if someone runs into these issues these may be found in the list (or already have been solved in ports) Things like this do not happen too often. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 17:30:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CDF1AC0 for ; Tue, 18 Dec 2012 17:30:40 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) by mx1.freebsd.org (Postfix) with ESMTP id C92D28FC19 for ; Tue, 18 Dec 2012 17:30:39 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 3F964153434 for ; Tue, 18 Dec 2012 18:30:39 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pSA21ESjVSfS for ; Tue, 18 Dec 2012 18:30:38 +0100 (CET) Received: from [127.0.0.1] (opteron [192.168.10.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.digiware.nl (Postfix) with ESMTPS id BEF42153433 for ; Tue, 18 Dec 2012 18:30:38 +0100 (CET) Message-ID: <50D0A83E.2020607@digiware.nl> Date: Tue, 18 Dec 2012 18:30:38 +0100 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Torrents Page References: <50CA986B.2000004@gmail.com> In-Reply-To: <50CA986B.2000004@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 121218-0, 12/18/2012), Outbound message X-Antivirus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: wjw@digiware.nl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 17:30:40 -0000 On 12/13/12 12:09, Paul Hohberg wrote: > I have been unable to access the torrents page at > http://torrents.FreeBSD.org:8080/ is this something you are working > on? > > My understanding is that it was found to have too many security > issues and has been taken down because of that. I have also heard it > may or may not be back. Of course, that is at best rumor. I've not > seen anything really "official". Given the fact that it runs on a host called: bwwwdyn.freebsd.org Which sounds horribly dynamic, is/was it a FreeBSD service, or a service just offered? I do not hat the bandwidth to run a massive supply of torrents, but offering the service as central torrent administration would be something I'd willing to look at. --WjW From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 17:42:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D68A0FFF for ; Tue, 18 Dec 2012 17:42:43 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm8-vm0.bullet.mail.ird.yahoo.com (nm8-vm0.bullet.mail.ird.yahoo.com [77.238.189.203]) by mx1.freebsd.org (Postfix) with ESMTP id 225458FC13 for ; Tue, 18 Dec 2012 17:42:42 +0000 (UTC) Received: from [77.238.189.50] by nm8.bullet.mail.ird.yahoo.com with NNFMP; 18 Dec 2012 17:42:41 -0000 Received: from [217.146.188.154] by tm3.bullet.mail.ird.yahoo.com with NNFMP; 18 Dec 2012 17:42:41 -0000 Received: from [127.0.0.1] by smtp101.mail.ird.yahoo.com with NNFMP; 18 Dec 2012 17:42:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1355852561; bh=2BYuVVkg+M0g4qjvbOZ2w938/R9pFiEdqiO1LU9G1ac=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=EzAXnIlfO3jvn9kRRe/MY6o2EWCo1wQJHFPWG6HakEdDQ87rRn6qTYyhYpCnDZQwM3Q0nSIwpDHCHkjyFCXX6M+m7pvdAtH5wjYqXi3hJVTIZ4/WIJB3ATbU7KbS+kHtwr1OjaB2M0HRD0X+TKolldny/BpIHwsFz8uwCQq8V4g= X-Yahoo-Newman-Id: 583757.40364.bm@smtp101.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: DqzsbAcVM1n.OGDiG7dQ751NHmU0SLQS7NQJD_bKaFI1r5v MQ1nSOFdxUhcztQHZncNRf.kPn7SNrev3Q1UmTUScIQdqtsgALgPF3fVoMiQ Lusqtv8QfpmFgJf8mIFl4_mUFoMxIoBv0sblhHWGPiQ6MQx2z8DywI_NbceQ dkVIG4ZYyAQjxWswPMnf5Hr4yc4SmwSXwGDKhCb_EAbT8DTKRclt29DCf_Mu XYznoWbU5Ey.2ex51hD1gE05GBuMyQ5JhOEkI4Xkgd7wUtrTiT870uolEq2i gne2f5nN12FcPc6iUSg2pIDDo1GslSL.LdwIeE_Oi1pjEgkgAMkInrgeFQTE 57LqVzj_LVAW.w_2wfGiXNsAKr8IwHaYrW8C_gFGs4Pdseww3MWkmNvF97R5 kYpPGHhJ32cenc771sXV3yUKmYkFOlzugR2hnNQ-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.25.70] (ralf.mardorf@85.182.25.70 with login) by smtp101.mail.ird.yahoo.com with SMTP; 18 Dec 2012 09:42:41 -0800 PST Message-ID: <1355852561.2501.10.camel@q> Subject: Upgrading FreeBSD 8.3 amd64 From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Tue, 18 Dec 2012 18:42:41 +0100 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 17:42:43 -0000 Hi :) first I tried to install FreeBSD 9.0 64bit by the default installer, but it didn't work, then I installed PC-BSD 8.2 and it worked, after that I tried 9.0 again, but I choose sysinstall, it also failed. Now I've got FreeBSD 8.3 64bit installed, installing it worked without issues. I later today need to set up FreeBSD. The self-doubts that I'm an idiot are gone ;), I did the same as I tried to do for 9.0. The 9.0 media's checksum and the burners verifying after burning were ok. I want to test snd_hdspe. How can I upgrade from 8.2 to a version including the driver or something similar to get the driver? Btw. I didn't test, if the driver is part of 8.3 until now :D, but if IIUC I need >= 9.0. Regards, Ralf From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 17:54:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8CCCD5D3 for ; Tue, 18 Dec 2012 17:54:31 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm18-vm0.bullet.mail.ird.yahoo.com (nm18-vm0.bullet.mail.ird.yahoo.com [77.238.189.215]) by mx1.freebsd.org (Postfix) with ESMTP id C12698FC15 for ; Tue, 18 Dec 2012 17:54:30 +0000 (UTC) Received: from [77.238.189.230] by nm18.bullet.mail.ird.yahoo.com with NNFMP; 18 Dec 2012 17:54:29 -0000 Received: from [217.146.188.224] by tm11.bullet.mail.ird.yahoo.com with NNFMP; 18 Dec 2012 17:54:29 -0000 Received: from [127.0.0.1] by smtp104.mail.ird.yahoo.com with NNFMP; 18 Dec 2012 17:54:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1355853269; bh=CnTkIiIKgr7qkElnvFp+ivMbJcovA7ZCLg9qfUzOP3g=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=UsVCPMADG+MloUMpOa59Xayl5a8JbixA3F5w24zf74lN7IXa8yE+jaQLW23fX9ARUDVPXnuRWkQ/lcqOaO6t+xebsiINi5+pf9OloXiPNaUBwDqzFUb3RA3NtR2Yds7Lm+94LtvjLXS++Kd4qKdTbk9z2+ZBHGpM77+4rsqfmqE= X-Yahoo-Newman-Id: 627277.82733.bm@smtp104.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: O46Cd2gVM1kjBIvzGHqq3w0P9w5B2sIdezHsWBu0rzzumZc 9kf8SEfbMs_tL6_Rp4Ox2gRSTKwNevbRKSaJfJvwVMGxsSe0HkQKjpNH9jdB y57hLtLuXfNqZkOUC81GNkiqUQn_FNnhTo4sGrrHsmfKKEPb9iF4sZKeBxc. olWKRdQG9.RECLlaBFbDof8aitG_99_Fnuhdq2fYBLNeWEGeJEkz3sXm9t1r A9E4Zj5X2AT6YcLss9F4VsLtBKRgqianbG7Pfhoeb2uFy9L5uELmTY_5CbW0 pMA70_dJP7bGMPhXu.aAPgqgk3ngiNjtpezKvRzex93u0BiSZnE3LalpN4It ZYLe.oLKhbFyI3iKAeGtm0wdeQtf7H276FdjwK.Vfd9xw9Mwir57V0NdPDi. QQknnfbKyiNzpjUhadhJvxAHgWkxY3lfDv0M.OtCx6tQCDuROG7BW3JCVmh8 vxgK3FB9ULmP7eb37zxS58DF3A1yIHUdcduf5c9KdbCKd2Q0AjUMuwDsCBxX JZzhGHvPwb07P7wOaTP0KcJ2WtF6u9oEEsKahuQZthXT5AQ-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.25.70] (ralf.mardorf@85.182.25.70 with login) by smtp104.mail.ird.yahoo.com with SMTP; 18 Dec 2012 09:54:29 -0800 PST Message-ID: <1355853269.2501.13.camel@q> Subject: Re: Upgrading FreeBSD 8.3 amd64 From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Tue, 18 Dec 2012 18:54:29 +0100 In-Reply-To: <1355852561.2501.10.camel@q> References: <1355852561.2501.10.camel@q> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 17:54:31 -0000 On Tue, 2012-12-18 at 18:42 +0100, Ralf Mardorf wrote: > I want to test snd_hdspe. How can I upgrade from 8.2 to a version ^^^8.3 > including the driver or something similar to get the driver? > Btw. I didn't test, if the driver is part of 8.3 until now :D, but if > IIUC I need >= 9.0. I'll read http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html can I assume that because I didn't install or updated and configured anything until now, there won't be issues for a version upgrade, if I only configure PPPoE, followed by a release upgrade and after that I'll install software and set up FreeBSD completely? From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 17:58:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8593F6D1 for ; Tue, 18 Dec 2012 17:58:02 +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 41B1C8FC0A for ; Tue, 18 Dec 2012 17:58:01 +0000 (UTC) Received: from r56.edvax.de (port-92-195-94-87.dynamic.qsc.de [92.195.94.87]) by mx02.qsc.de (Postfix) with ESMTP id 89A9B24AB7; Tue, 18 Dec 2012 18:57:55 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBIHvvPv002344; Tue, 18 Dec 2012 18:57:57 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 18 Dec 2012 18:57:57 +0100 From: Polytropon To: Ralf Mardorf Subject: Re: Upgrading FreeBSD 8.3 amd64 Message-Id: <20121218185757.f10640e0.freebsd@edvax.de> In-Reply-To: <1355852561.2501.10.camel@q> References: <1355852561.2501.10.camel@q> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 17:58:02 -0000 On Tue, 18 Dec 2012 18:42:41 +0100, Ralf Mardorf wrote: > I want to test snd_hdspe. How can I upgrade from 8.2 to a version > including the driver or something similar to get the driver? > Btw. I didn't test, if the driver is part of 8.3 until now :D, but if > IIUC I need >= 9.0. It would probably be the easiest way to update your source tree (using svn as this is the default method today) and re-install from that. I'm not sure freebsd-update can cross the "major version border" without trouble (never tried). See 25.7 for details: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html But also note that freebsd-update supports a -r option as explained in 25.2.3: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html But as I said, I've never personally tried that. This approach keeps all your partition settings and doesn't require any other work to be done on that level. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 18:00:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D690E829 for ; Tue, 18 Dec 2012 18:00:58 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm19-vm0.bullet.mail.ukl.yahoo.com (nm19-vm0.bullet.mail.ukl.yahoo.com [217.146.183.113]) by mx1.freebsd.org (Postfix) with ESMTP id 09EDE8FC14 for ; Tue, 18 Dec 2012 18:00:57 +0000 (UTC) Received: from [217.12.10.83] by nm19.bullet.mail.ukl.yahoo.com with NNFMP; 18 Dec 2012 18:00:51 -0000 Received: from [77.238.184.78] by tm17.bullet.mail.ukl.yahoo.com with NNFMP; 18 Dec 2012 18:00:51 -0000 Received: from [127.0.0.1] by smtp147.mail.ukl.yahoo.com with NNFMP; 18 Dec 2012 18:00:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1355853651; bh=QSsF72ZDj0gqf61Sho49VpRD0XuvW/fOyUMRhGPTAxc=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=2BguPdKFQAP0X83zj0q2kl/4R+IAEus2yQdHi+L2ONo9bZLrSy1m53gSAq1YXJCDcy4y2fRM4jb7gzAPqzx9vfALVcZfMsBMtX0oZNS3wx49V6CqywUvXxtJL3j7p/J/PihktMJ5CfSM4brd0bAcvb5NVOyh6qyQ0AKTh1FHCyY= X-Yahoo-Newman-Id: 457668.34051.bm@smtp147.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: meH1ibMVM1lHfRz8EbfiqGhwH638zj7T6WsHkaiLcRIWFHA HKeqX0HF.4wmOxwDchcYZPetQMCiz_xf8Uy8QGzuD.GCp80MlQrwQP6J7.vn TP.bwYm7Rd6oplZh_yS7hVnCVqvfIvcVgmEpBjqh40LTrMnr2xJpc6a8htk9 c9KEntGw9_ohufReKrQsb_61B.3cpOfKcXwHrsyCf5EQqgsuo4QkPs6Z4IcZ kdVIWNOk5LlF6auAXU4bxbFXNOl9j9OgpWvC4lq4Rgmd.uQtUODTskpePBH. QWPHQKWvT3d7ots.anGhPK92DRxGuqysaeEmbeTJqQ1wyZ631F..IGUun66X sP6Podt12y80_RcQoz5BuPftCkbdDE.woNWbbFOuzb8An_rrW4Tk7BEpv2M0 vg9MxzFwyg72P1wUvvlQ55TGZto9rQD9vVOc2FwWWBUAjCbH3wUH_6nWa4IP U8EtoGK3NMOCDPBvDTeqyoWsaTCS.aXewfVvMLBbLbaYl06TxWS6VA8HMiZx PQ3NvYzWXyHsog8bIc5OrPG4ySMYrtkjPqhq3F3tC2RvA X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.25.70] (ralf.mardorf@85.182.25.70 with login) by smtp147.mail.ukl.yahoo.com with SMTP; 18 Dec 2012 18:00:51 +0000 GMT Message-ID: <1355853651.2501.14.camel@q> Subject: Re: Upgrading FreeBSD 8.3 amd64 From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Tue, 18 Dec 2012 19:00:51 +0100 In-Reply-To: <20121218185757.f10640e0.freebsd@edvax.de> References: <1355852561.2501.10.camel@q> <20121218185757.f10640e0.freebsd@edvax.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 18:00:58 -0000 On Tue, 2012-12-18 at 18:57 +0100, Polytropon wrote: > On Tue, 18 Dec 2012 18:42:41 +0100, Ralf Mardorf wrote: > > I want to test snd_hdspe. How can I upgrade from 8.2 to a version > > including the driver or something similar to get the driver? > > Btw. I didn't test, if the driver is part of 8.3 until now :D, but if > > IIUC I need >= 9.0. > > It would probably be the easiest way to update your source tree > (using svn as this is the default method today) and re-install > from that. I'm not sure freebsd-update can cross the "major > version border" without trouble (never tried). > > See 25.7 for details: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html > > But also note that freebsd-update supports a -r option > as explained in 25.2.3: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > > But as I said, I've never personally tried that. > > This approach keeps all your partition settings and doesn't require > any other work to be done on that level. Thank you :) I'll read and test it later. Regards, Ralf From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 18:21:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41FA2F91 for ; Tue, 18 Dec 2012 18:21:15 +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 F14B78FC17 for ; Tue, 18 Dec 2012 18:21:14 +0000 (UTC) Received: from r56.edvax.de (port-92-195-94-87.dynamic.qsc.de [92.195.94.87]) by mx01.qsc.de (Postfix) with ESMTP id B3E663CDD1; Tue, 18 Dec 2012 19:21:07 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBIIL9uS002401; Tue, 18 Dec 2012 19:21:09 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 18 Dec 2012 19:21:09 +0100 From: Polytropon To: Ralf Mardorf Subject: Re: Upgrading FreeBSD 8.3 amd64 Message-Id: <20121218192109.66dcd74c.freebsd@edvax.de> In-Reply-To: <1355853269.2501.13.camel@q> References: <1355852561.2501.10.camel@q> <1355853269.2501.13.camel@q> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 18:21:15 -0000 On Tue, 18 Dec 2012 18:54:29 +0100, Ralf Mardorf wrote: > On Tue, 2012-12-18 at 18:42 +0100, Ralf Mardorf wrote: > > I want to test snd_hdspe. How can I upgrade from 8.2 to a version > ^^^8.3 > > including the driver or something similar to get the driver? > > Btw. I didn't test, if the driver is part of 8.3 until now :D, but if > > IIUC I need >= 9.0. > > I'll read > http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html > can I assume that because I didn't install or updated and configured > anything until now, there won't be issues for a version upgrade, if I > only configure PPPoE, followed by a release upgrade and after that I'll > install software and set up FreeBSD completely? Sounds like a valid approach. I've been doing this many times, i. e. first install base system from installation media without additional packages, setup networking (PPPoE in former times, DHCP today), then update the system to the desired version or branch (e. g. -STABLE via source), and then start installing the applications from ports (also updated). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 18:43:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A7BEC4C2 for ; Tue, 18 Dec 2012 18:43:32 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com [209.85.215.41]) by mx1.freebsd.org (Postfix) with ESMTP id 0F0988FC1A for ; Tue, 18 Dec 2012 18:43:31 +0000 (UTC) Received: by mail-la0-f41.google.com with SMTP id m15so865250lah.28 for ; Tue, 18 Dec 2012 10:43:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=Ll0/r2QTxh2yPQbRp4Veoz8LhH1ndp93UaDtxG2JjA4=; b=m0pJpCUSwQYhtQwNXWiWLzKur/m+rVZBn/nzGTh1ztt+DjS/NA+PNw+y6VfsGCwZIs CmuMn1Fxg1iLb6/puHiXEfzjfQ/XCx5eAnBN/Zm9WZ+kphf+HYwWQIsO2D8I5iv1PYaT iv4fXOWSEnJ4ZuGY3r+siwJNKqeRik9dajQA5hjNOeRmOFGDTy7Axo4GUzX0G5zWPdsL VmxwclY/oGQ0+ohzJnK5pW2HpOs7sd0yI65hz1knuGwCoH5oyE4zR5PZGjhpEjnB3fex aPmdXmTq/b+jJLwEn6sSTgXvBKKXlwZnTP0dk99DG3eUCwdziQH0kpWZcROXk0/1Hw7Y qVcA== MIME-Version: 1.0 Received: by 10.112.11.68 with SMTP id o4mr1238479lbb.128.1355856205180; Tue, 18 Dec 2012 10:43:25 -0800 (PST) Received: by 10.112.7.232 with HTTP; Tue, 18 Dec 2012 10:43:25 -0800 (PST) X-Originating-IP: [93.221.167.105] In-Reply-To: References: <20121215194427.GA19347@baot.se> <44txrnqbav.fsf@lowell-desk.lan> Date: Tue, 18 Dec 2012 19:43:25 +0100 Message-ID: Subject: Re: svn revision in uname From: "C. P. Ghost" To: David Demelier Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkAtTfgL+s2jhlHAxdPK2t4pgFR/qn0y1XoGMZo2b5ovDKuvh2kRvEyFLoS5tSOH/e/JrMF Cc: Lowell Gilbert , freebsd-questions@freebsd.org, "Anders N." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 18:43:32 -0000 On Mon, Dec 17, 2012 at 2:13 PM, David Demelier wrote: > I hope it will be removed soon, it pollutes the uname -a output. I don't hope so. It helps us keep track of the exact revision numbers of deployed servers here. Please don't remove it, or at least, provide an additional switch to uname to retrieve it. Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 19:23:36 2012 Return-Path: Delivered-To: questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC9C6D7E for ; Tue, 18 Dec 2012 19:23:36 +0000 (UTC) (envelope-from notification@loomel.com) Received: from oproxy8-pub.bluehost.com (oproxy8-pub.bluehost.com [69.89.22.20]) by mx1.freebsd.org (Postfix) with SMTP id 7C3B58FC15 for ; Tue, 18 Dec 2012 19:23:36 +0000 (UTC) Received: (qmail 31850 invoked by uid 0); 18 Dec 2012 19:23:09 -0000 Received: from unknown (HELO host242.hostmonster.com) (74.220.215.242) by oproxy8.bluehost.com with SMTP; 18 Dec 2012 19:23:09 -0000 Received: from localhost ([127.0.0.1]:46406 helo=host242.hostmonster.com) by host242.hostmonster.com with esmtp (Exim 4.76) (envelope-from ) id 1Tl2ku-0006N7-Jx for questions@FreeBSD.ORG; Tue, 18 Dec 2012 12:23:08 -0700 To: questions@FreeBSD.ORG Subject: Share your best pictures on loomel X-PHP-Script: loomel.com/email/admin/index.php for 190.115.178.37 Message-ID: <599c8f6002633c3387c195ba3603af14@loomel.com> Date: Tue, 18 Dec 2012 12:23:07 -0700 From: "real" MIME-Version: 1.0 X-Mailer-LID: 2 X-Mailer-RecptId: 4399 X-Mailer-SID: 3 X-Mailer-Sent-By: 1 X-Identified-User: {:host242.hostmonster.com:loomelco:host242.hostmonster.com} {sentby:program running on server} Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: notification@loomel.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 19:23:36 -0000 Your email client cannot read this email. To view it online, please go here: http://loomel.com/email/display.php?M=4399&C=7c8ef03614df7c8d28f7f75debbf784e&S=3&L=2&N=3 To stop receiving these emails:http://loomel.com/email/unsubscribe.php?M=4399&C=7c8ef03614df7c8d28f7f75debbf784e&L=2&N=3 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 20:42:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 51C1A9B for ; Tue, 18 Dec 2012 20:42:28 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id C97818FC14 for ; Tue, 18 Dec 2012 20:42:27 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id a14so485758eaa.41 for ; Tue, 18 Dec 2012 12:42:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=aeHy/CI3SLR00PaP3FrhYbE6kT0DXqrsrKosJgVrlpo=; b=r9r8Mrhak8Nmqh+SXhY86J+iVYpJK1g1WRvuhGiZDUH/9lX00moR84uiKALWdQ4j59 bZL/uUjHoPszXJJmEjYMCGk/uhabNmpCnOghhzFsOM/DhT6qfNfmD6Gl2zc9L6c+JcGa Ohtr0nm58MFelm6diJYp7Y/BEiOL867LKcxPDsRHjonNAHol+0sk1+ILb6nR/2HMhXw+ k9dOEeB2/ysabZT8Z90J7BgdOMAlwUzKuW7KTtBGO6NhE5fUJaBSRtTXRaRO/hjxfApJ C+x6/4GWc1l+arYqNwGOkyX/m9MrHssJwK+eImjWsszkhbEN7JUa4KE1borm7BXmJlnQ 30BA== X-Received: by 10.14.203.2 with SMTP id e2mr8516871eeo.20.1355861858572; Tue, 18 Dec 2012 12:17:38 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id k4sm5204111eep.15.2012.12.18.12.17.35 (version=SSLv3 cipher=OTHER); Tue, 18 Dec 2012 12:17:37 -0800 (PST) Date: Tue, 18 Dec 2012 20:17:33 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: using AWK Message-ID: <20121218201733.06f78f1f@gumby.homeunix.com> In-Reply-To: <18B0C79B-AF04-48D1-AF26-1B8A8B3641C1@fisglobal.com> References: <1355744359.61103.YahooMailNeo@web160104.mail.bf1.yahoo.com> <18B0C79B-AF04-48D1-AF26-1B8A8B3641C1@fisglobal.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 20:42:28 -0000 On Mon, 17 Dec 2012 08:16:26 -0800 Devin Teske wrote: > > On Dec 17, 2012, at 3:39 AM, Jack Mc Lauren wrote: > > > Hi guys > > > > How can I read a file which contains a number and assign that > > number to a variable via awk programming? By the way, I want to use > > this awk program in a shell script. > > > > Thanks in advance > > Try this: > > awk -v file=/etc/ttys 'BEGIN { getline line from %s: %s\n", file, line }' > Semms a bit complicated when you could set the awk variable directly e.g. $ echo 42 > /tmp/f $ awk -v x=`cat /tmp/f` 'BEGIN{ print x+1 }' 43 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 20:57:34 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49B04976 for ; Tue, 18 Dec 2012 20:57:34 +0000 (UTC) (envelope-from solarwindow01@runbox.com) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) by mx1.freebsd.org (Postfix) with ESMTP id D9B2C8FC0A for ; Tue, 18 Dec 2012 20:57:33 +0000 (UTC) Received: from [10.9.9.206] (helo=mailfront02.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1Tl4EG-0003Kd-5a for questions@freebsd.org; Tue, 18 Dec 2012 21:57:32 +0100 Received: from 76-233-30-151.lightspeed.snantx.sbcglobal.net ([76.233.30.151]) by mailfront02.runbox.com with esmtpsa (uid:798040 ) (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) id 1Tl4EF-0005n1-5z for questions@freebsd.org; Tue, 18 Dec 2012 21:57:31 +0100 From: "Dennis Roberts" Subject: Solar Windows - US Air Force Approved To: "questions" MIME-Version: 1.0 Organization: Inflector Window Insulators Date: Tue, 18 Dec 2012 14:57:30 -0600 Message-Id: <20121218205734.49B04976@hub.freebsd.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 20:57:34 -0000 =EF=BB=BFSolar Collecter Windows (Interior Mounted) - University Teste= d and Solar Rejector Windows all in one =20 A 4' X 4' In'Flector window insulator can produce as much heat as a 60= 0 watt electrical heater per sunlight hour and reflect up to 72% of th= e room heat back into the room! During the summer, our product reduces= air infiltration up to 71%, stops solar heat gain up to 65%, and bloc= ks up to 90% of harmful UV rays for such customers as General Motors a= nd numerous Canadian Embassies! We would like you to consider offering= your customers truly energy efficient window insulators, roller blind= s, vertical blinds, or sliders. At the same time, we would like you to= be a supplier, distributor or manufacturer by adding another product = line for your customers to consider! We have been tested by two major = universities with outstanding results and we are located in the United= States, Canada, Dubai, England, Chileand Australia! =20 =20 Energy Efficiency Done Right invites you to a webinar with information= on chances in manufacturing or being a dealer of In'Flector See Throu= gh Radiant Barrier Window and Skylight Insulators. The webinar will ta= ke place on Tuesday, December 18th at 10:00AM(CST) The energy efficien= cy industry is projected to be a 40 billion dollar industry by the yea= r 2012, and a good portion of those funds should be dedicated to impro= ving the least energy efficient envelope component-the windows. If you= need more information please reply to this email. If you want to be a= part of this webinar please email back this information- your name, y= our business, your location, the market you desire to serve, your emai= l and a phone number. This is a true groundfloor opportunity in a fast= growing industry. Thank you for your consideration=20 =20 Unsubscribe by email =20 Inflector Window Insulators 10854 Lake Path=20 San Antonio, TX 78217 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 21:01:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F560A73 for ; Tue, 18 Dec 2012 21:01:48 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2F85C8FC12 for ; Tue, 18 Dec 2012 21:01:47 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tl4IY-0005KV-Df for freebsd-questions@freebsd.org; Tue, 18 Dec 2012 22:01:58 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Dec 2012 22:01:58 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Dec 2012 22:01:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: updatedb? Date: Tue, 18 Dec 2012 21:01:33 +0000 (UTC) Lines: 10 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 21:01:48 -0000 $ sudo /usr/libexec/locate.updatedb >>> WARNING >>> Executing updatedb as root. This WILL reveal all filenames >>> on your machine to all login users, which is a security risk. $ Why is it a "security risk"? Security through obscurity? Really? In this day and age? Or am I missing something? From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 21:11:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C5D2DB7 for ; Tue, 18 Dec 2012 21:11:09 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0DB2C8FC1E for ; Tue, 18 Dec 2012 21:11:08 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa06.fnfis.com (8.14.5/8.14.5) with ESMTP id qBILB5I5011169 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 18 Dec 2012 15:11:06 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.31) with Microsoft SMTP Server (TLS) id 14.2.309.2; Tue, 18 Dec 2012 15:11:04 -0600 Subject: Re: updatedb? MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="windows-1252" From: Devin Teske In-Reply-To: Date: Tue, 18 Dec 2012 13:10:59 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Walter Hurry X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2012-12-18_08:2012-12-18,2012-12-18,1970-01-01 signatures=0 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 21:11:09 -0000 On Dec 18, 2012, at 1:01 PM, Walter Hurry wrote: > $ sudo /usr/libexec/locate.updatedb >>>> WARNING >>>> Executing updatedb as root. This WILL reveal all filenames >>>> on your machine to all login users, which is a security risk. > $ >=20 > Why is it a "security risk"? Security through obscurity? Really? In this= =20 > day and age? >=20 > Or am I missing something? You're missing the fact that updatedb essentially makes a list of every fil= e on your disk (and that this list is able to be queried by anybody regardl= ess of permissions or group membership). The best and most notable example of this constituting a "security risk" is= if you've prevented access to a directory=85 root's home-directory (/root)= for example. Illustratively, this would be if you did "chmod go-wrx somedi= r" so that only the owner could see inside it. When you run updatedb as root, it traverses all directories even those that= you may have posted a big "keep out" sign on (aforementioned "chmod"). The= n every non-privileged user on the system can list the contents of your sec= ret hideout with the "keep out" sign posted on it. You might have well buil= t that house out of glass (they can't read the contents of the books on you= r bookshelf, but they can see the covers and know what you've got stocked o= n the shelves). If this doesn't concern you, (and there's plenty of reasons to ignore this = warning -- say, if you operate in a closed environment where trust isn't an= issue and you value the ability to find any file on the system at any time= ) -- then proceed my friend, =85 proceed. Otherwise, it's best to think about running updatedb as a non-privileged us= er that (a) can't use built-in super-user privileges to bypass security set= tings when enumerating the UNIX filesystems you've configured in locate.con= f(5) (optional -- by default it acts sensibly and ignores what you'd expect= it to). --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 21:13:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48176110 for ; Tue, 18 Dec 2012 21:13:09 +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 AC3438FC0C for ; Tue, 18 Dec 2012 21:13:09 +0000 (UTC) Received: from r56.edvax.de (port-92-195-94-87.dynamic.qsc.de [92.195.94.87]) by mx02.qsc.de (Postfix) with ESMTP id 16D0A276B5; Tue, 18 Dec 2012 22:13:08 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBILDAta003392; Tue, 18 Dec 2012 22:13:10 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 18 Dec 2012 22:13:10 +0100 From: Polytropon To: Walter Hurry Subject: Re: updatedb? Message-Id: <20121218221310.cbcb9add.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 21:13:10 -0000 On Tue, 18 Dec 2012 21:01:33 +0000 (UTC), Walter Hurry wrote: > $ sudo /usr/libexec/locate.updatedb > >>> WARNING > >>> Executing updatedb as root. This WILL reveal all filenames > >>> on your machine to all login users, which is a security risk. > $ > > Why is it a "security risk"? Security through obscurity? Really? In this > day and age? > > Or am I missing something? Depends. In case you're using your system primarily as a single-user installation - no problem. If there are users who don't have trust in others (and this is _correct_), any call of "locate " could reveal data stored on different user accounts, even if they cannot be accessed due to o-x for the individual home directories. Sometimes file names can already tell a lot. The locate.updatedb is usually run from the "nobody" user account when invoked automatically. This means that the directory restrictions can apply (e. g. user home directories cannot be searched when they have o-x attribute). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 21:15:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B792122F for ; Tue, 18 Dec 2012 21:15:04 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com [209.85.214.176]) by mx1.freebsd.org (Postfix) with ESMTP id 743888FC15 for ; Tue, 18 Dec 2012 21:15:04 +0000 (UTC) Received: by mail-ob0-f176.google.com with SMTP id un3so1188408obb.35 for ; Tue, 18 Dec 2012 13:15:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UkSeGCd4pFvwn611GrfN2hlOLDW41xq/9qj6UWqwEFY=; b=tRoZxJF4e/lU/qUzjeS39kNpuQmuLiamDZzXknoDRsVjHzNsghVNMXT75WFhLADLAU A643LMe8GKN15gFx79f1V2qruU+0oPF8qqXnV3RGqsikCQIFlVeemSv23kIzx+6d5O7T E5ThAe2V7ivajwbZaEy2Ug+qxqkT+BU1HSr2ZvUDQWdEQTt6jG0t4j22xLp87eu70zQu HWc1hJzJ+ytHtEy3ud98Zhu10EXdQjzA87ReNXPgh3VIYq29rJrzp/GEsQdHSrbTdk5Q /deB/KD5DmtdBmvn6oBzl1QTQkxq57pDISYwOFM3uBZdd68IjzdXXGL9LHEvnHjmgjX4 zAZA== MIME-Version: 1.0 Received: by 10.182.121.97 with SMTP id lj1mr2897057obb.63.1355865302853; Tue, 18 Dec 2012 13:15:02 -0800 (PST) Received: by 10.76.80.104 with HTTP; Tue, 18 Dec 2012 13:15:02 -0800 (PST) In-Reply-To: References: Date: Tue, 18 Dec 2012 15:15:02 -0600 Message-ID: Subject: Re: updatedb? From: Adam Vande More To: Walter Hurry Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 21:15:04 -0000 On Tue, Dec 18, 2012 at 3:01 PM, Walter Hurry wrote: > Security through obscurity? Really? In this > day and age? > My password is obscured from you. I consider that more secure regardless of what any other opinion is. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 21:40:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 75C52A5B for ; Tue, 18 Dec 2012 21:40:29 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ee0-f48.google.com (mail-ee0-f48.google.com [74.125.83.48]) by mx1.freebsd.org (Postfix) with ESMTP id F0F368FC0C for ; Tue, 18 Dec 2012 21:40:28 +0000 (UTC) Received: by mail-ee0-f48.google.com with SMTP id b57so627221eek.7 for ; Tue, 18 Dec 2012 13:40:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=FIMrUltBU983+ARMqLg5jmwuXLUkFyoerJoPPIcypQE=; b=Xkui77TVnHXyCcPm8m5YgG2GlDEpxGY/DkTqFdwCNDeCjeA4aBahxmkN6O6XrqikbB j6ivhYNzkUNXlmdCt+xig9j77b9JXZTNGen5KpfzM9vWVNNOILOce4lQJ4rEtIAflDK6 tDihEZ4BR9qY6M+edt3UMRg8CWEUoUze3oor5PcsXYnKlIvjqCXHVjYh+YqFg8npaLQo JmlhvYntDsuk/ow+PLvXIT3IEZounIEjDKrfJ3I7qs/mgqT1k7rMSSGEZFV+s6mPJb8t /AOvr7t1QcBpr+Oc7Xxv5HdSPuDddvB2r7NIrOSYX9S6y0JkxPpIpbLWBzvVCxud/R3M qUVA== X-Received: by 10.14.1.195 with SMTP id 43mr8922043eed.31.1355866375834; Tue, 18 Dec 2012 13:32:55 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id v46sm5618081eep.1.2012.12.18.13.32.53 (version=SSLv3 cipher=OTHER); Tue, 18 Dec 2012 13:32:54 -0800 (PST) Date: Tue, 18 Dec 2012 21:32:50 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: updatedb? Message-ID: <20121218213250.131de35c@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 21:40:29 -0000 On Tue, 18 Dec 2012 21:01:33 +0000 (UTC) Walter Hurry wrote: > $ sudo /usr/libexec/locate.updatedb > >>> WARNING > >>> Executing updatedb as root. This WILL reveal all filenames > >>> on your machine to all login users, which is a security risk. > $ > > Why is it a "security risk"? Security through obscurity? Really? In > this day and age? > > Or am I missing something? If permissions have been set to prevent other users reading filenames then obviously leaking file names is security issue. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 21:49:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B490EC2 for ; Tue, 18 Dec 2012 21:49:47 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 9066C8FC0C for ; Tue, 18 Dec 2012 21:49:46 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Tue, 18 Dec 2012 22:49:43 +0100 Message-ID: <50D0E4F7.9090006@ose.nl> Date: Tue, 18 Dec 2012 22:49:43 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: updatedb? References: <20121218213250.131de35c@gumby.homeunix.com> In-Reply-To: <20121218213250.131de35c@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 21:49:47 -0000 On 12/18/12 22:32, RW wrote: > On Tue, 18 Dec 2012 21:01:33 +0000 (UTC) > Walter Hurry wrote: > >> $ sudo /usr/libexec/locate.updatedb >>>>> WARNING >>>>> Executing updatedb as root. This WILL reveal all filenames >>>>> on your machine to all login users, which is a security risk. >> $ >> >> Why is it a "security risk"? Security through obscurity? Really? In >> this day and age? >> >> Or am I missing something? > If permissions have been set to prevent other users reading filenames > then obviously leaking file names is security issue. Yes. But as stated before it defaults to run as user nobody. Line 26 /etc/periodic/weekly/310.locate echo /usr/libexec/locate.updatedb | nice -n 5 su -fm nobody || rc=3 No issue there. If someone runs it as root it can be, as everything being run as root, a security issue. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 21:53:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F2659204 for ; Tue, 18 Dec 2012 21:53:28 +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 AB7658FC14 for ; Tue, 18 Dec 2012 21:53:28 +0000 (UTC) Received: from r56.edvax.de (port-92-195-94-87.dynamic.qsc.de [92.195.94.87]) by mx02.qsc.de (Postfix) with ESMTP id AE28424801; Tue, 18 Dec 2012 22:53:27 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBILrTbR003784; Tue, 18 Dec 2012 22:53:29 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 18 Dec 2012 22:53:29 +0100 From: Polytropon To: RW Subject: Re: updatedb? Message-Id: <20121218225329.f465fc6a.freebsd@edvax.de> In-Reply-To: <20121218213250.131de35c@gumby.homeunix.com> References: <20121218213250.131de35c@gumby.homeunix.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 21:53:29 -0000 On Tue, 18 Dec 2012 21:32:50 +0000, RW wrote: > On Tue, 18 Dec 2012 21:01:33 +0000 (UTC) > Walter Hurry wrote: > > > $ sudo /usr/libexec/locate.updatedb > > >>> WARNING > > >>> Executing updatedb as root. This WILL reveal all filenames > > >>> on your machine to all login users, which is a security risk. > > $ > > > > Why is it a "security risk"? Security through obscurity? Really? In > > this day and age? > > > > Or am I missing something? > > If permissions have been set to prevent other users reading filenames > then obviously leaking file names is security issue. There are no "leaking file names", as by command, the tool does what it is requested to: to not obey the restrictions that apply in its _normal_ use and list _all_ file names instead. See /etc/periodic/weekly/310.locate for example: The default call of locate.updatedb is this: echo /usr/libexec/locate.updatedb | nice -n 5 su -fm nobody || rc=3 The program (script) will additionally honor settings in the /etc/locate.rc file. So if the questioned use of "sudo /usr/libexec/locate.updatedb" to run it as root (with _all_ permissions!) leads to the intended behaviour, i. e. list _all_ files on the system, that isn't actually a leak, I'd say. (Terminology: A leak would appear if you'd run locate.updatedb with the "nobody" user, and still file names from inside a o-rwx directory would appear!) I really like the analogy provided by Devin Teske in his reply: When you run updatedb as root, it traverses all directories even those that you may have posted a big "keep out" sign on (aforementioned "chmod"). Then every non-privileged user on the system can list the contents of your secret hideout with the "keep out" sign posted on it. You might have well built that house out of glass (they can't read the contents of the books on your bookshelf, but they can see the covers and know what you've got stocked on the shelves). Again: If that's intended, locate.updatedb will act as instructed. Oh behold the unlimited power of root. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 22:04:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F17494A1 for ; Tue, 18 Dec 2012 22:04:45 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com [209.85.217.170]) by mx1.freebsd.org (Postfix) with ESMTP id 6CA488FC0C for ; Tue, 18 Dec 2012 22:04:44 +0000 (UTC) Received: by mail-lb0-f170.google.com with SMTP id j14so1184887lbo.15 for ; Tue, 18 Dec 2012 14:04:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=koh6/x0VQtHXXV/fBlhGWXW+WxdtXm3mGU2mrL6JwL8=; b=jyz7OqrZ4ol6ZSVq9oYAQHRSIHu9yFjzJrDyfy431tXkUwH0nqZn+2+naYv9q7f7qp O6h2v/JuI1CHkhVUgArKIIRQ2nnD4vXZLqqBeHa3rN8W+RXBrieZYVI3s4w3mZojgd1a UheSS+ZmHJptCLikhT83nTPhgb1TIN58V6akV49KidslLXhB9rqBpZhf9/26cwgBTGEt un533HBesUHPbgQiijPFYW/vlKVNqOCloVRBtu3XhiwolVNfedn2DZ/BfGJwRARi5ty+ EiLhpCEPA/kidBBUzY1FBaqOtoGrHFS+cL65wIEdAc2pOVflIdx1bVPT2D1xnb1HdeE7 SMGg== MIME-Version: 1.0 Received: by 10.112.82.202 with SMTP id k10mr1512138lby.22.1355868283731; Tue, 18 Dec 2012 14:04:43 -0800 (PST) Received: by 10.112.7.232 with HTTP; Tue, 18 Dec 2012 14:04:43 -0800 (PST) X-Originating-IP: [93.221.167.105] In-Reply-To: References: Date: Tue, 18 Dec 2012 23:04:43 +0100 Message-ID: Subject: Re: updatedb? From: "C. P. Ghost" To: Walter Hurry Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmLJGAkNA95GpllsavNRQsnRiJGsl8Ny9xwEWMbw7t/OgY0+a6Z0EHQ+0jRAJK0pECfu+eP Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 22:04:46 -0000 On Tue, Dec 18, 2012 at 10:01 PM, Walter Hurry wrote: > $ sudo /usr/libexec/locate.updatedb >>>> WARNING >>>> Executing updatedb as root. This WILL reveal all filenames >>>> on your machine to all login users, which is a security risk. > $ > > Why is it a "security risk"? Security through obscurity? Really? In this > day and age? > > Or am I missing something? Suppose someone managed to start a shell under your account and is seeking to escalate privileges, i.e. to become root. If he can look at a full unrestricted locatedb, he may pay particular attention to config files, log files etc... that may otherwise be hidden from sight. Just by looking at this, he may infer that a particular software package at a particular revision is actually running on that host and is configured in a particular way. E.g., he may see that logfiles accumulate in /var/log and are cleaned only once a week. It would be then easy to induce that program to create more log files, thus denying service to other programs that need /var as well. This, in turn, could result in real exploits of those other programs... Sure, most of this is already world-visible and in the regular locatedb because we're so liberal with the rights of /var/db/pkg, /var/log, /etc, ... but some admins prefer to hide particularly sensitive programs, their configs, logs etc., in a non-world-readable directory hierarchy. Running locate.updatedb(8) with root privileges would defeat that strategy. That's why it is discouraged. Of course, this is even more necessary when you have regular users on that machine that don't necessarily trust each others. They wouldn't like their home dirs to be world-readable by default by everyone else. Maybe they won't object (and set /home/$USER to -rwxr-xr-x instead of -rwxr-x--- or -rwx------) but that's their call, not the sysadmin's. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 22:08:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9A21592 for ; Tue, 18 Dec 2012 22:08:42 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 5C3228FC0C for ; Tue, 18 Dec 2012 22:08:41 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Tue, 18 Dec 2012 23:08:39 +0100 Message-ID: <50D0E967.7060204@ose.nl> Date: Tue, 18 Dec 2012 23:08:39 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: updatedb? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 22:08:42 -0000 On 12/18/12 23:04, C. P. Ghost wrote: > On Tue, Dec 18, 2012 at 10:01 PM, Walter Hurry wrote: >> $ sudo /usr/libexec/locate.updatedb >>>>> WARNING >>>>> Executing updatedb as root. This WILL reveal all filenames >>>>> on your machine to all login users, which is a security risk. >> $ >> >> Why is it a "security risk"? Security through obscurity? Really? In this >> day and age? >> >> Or am I missing something? > Suppose someone managed to start a shell under your account > and is seeking to escalate privileges, i.e. to become root. If he can > look at a full unrestricted locatedb, he may pay particular attention > to config files, log files etc... that may otherwise be hidden from sight. locate.updatebd is _not_ run as root by default. See Polytropon's and other replies. If root runs it, it is root's responsibility that others can obtain all filenames on the system. > > Just by looking at this, he may infer that a particular software package > at a particular revision is actually running on that host and is configured > in a particular way. E.g., he may see that logfiles accumulate in /var/log > and are cleaned only once a week. It would be then easy to induce that > program to create more log files, thus denying service to other programs > that need /var as well. This, in turn, could result in real exploits of those > other programs... > > Sure, most of this is already world-visible and in the regular locatedb > because we're so liberal with the rights of /var/db/pkg, /var/log, /etc, ... but > some admins prefer to hide particularly sensitive programs, their configs, > logs etc., in a non-world-readable directory hierarchy. Running > locate.updatedb(8) with root privileges would defeat that strategy. > That's why it is discouraged. > > Of course, this is even more necessary when you have regular users on > that machine that don't necessarily trust each others. They wouldn't like > their home dirs to be world-readable by default by everyone else. Maybe > they won't object (and set /home/$USER to -rwxr-xr-x instead of -rwxr-x--- > or -rwx------) but that's their call, not the sysadmin's. > > -cpghost. > From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 22:14:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 28CD489A for ; Tue, 18 Dec 2012 22:14:10 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id D34E68FC0A for ; Tue, 18 Dec 2012 22:14:09 +0000 (UTC) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.42]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id A7C71A72DE5 for ; Tue, 18 Dec 2012 17:14:02 -0500 (EST) Received: (qmail 21878 invoked from network); 18 Dec 2012 22:14:02 -0000 Received: by simscan 1.4.0 ppid: 7287, pid: 10080, t: 0.1935s scanners: clamav: 0.88.2/m:52/d:10739 Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 18 Dec 2012 22:14:02 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.8]) by be-well.ilk.org (Postfix) with ESMTP id 043C033C23; Tue, 18 Dec 2012 17:13:55 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 2308E39855; Tue, 18 Dec 2012 17:13:55 -0500 (EST) From: Lowell Gilbert To: David Demelier Subject: Re: svn revision in uname References: <20121215194427.GA19347@baot.se> <44txrnqbav.fsf@lowell-desk.lan> Date: Tue, 18 Dec 2012 17:13:55 -0500 In-Reply-To: (David Demelier's message of "Mon, 17 Dec 2012 14:13:11 +0100") Message-ID: <441uent3do.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: "C. P. Ghost" , freebsd-questions@freebsd.org, "Anders N." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 22:14:10 -0000 David Demelier writes: > > 2012/12/15 Lowell Gilbert > >> "Anders N." writes: >> >> > Hi. I've noticed in my "uname -a" on 9.1-RELEASE there is "r243826." >> > This is on a system that upgraded from 9.1-RC3 using freebsd-update >> > (binary). On another system, upgraded from 9.0-RELEASE via >> > freebsd-update (source), there is nothing at all and uname -a looks >> > normal. Two other people I asked have r243825 (installed from ISO) and >> > r243872 (upgraded from svn). >> > >> > They're all 9.1-RELEASE, shouldn't they be the same, final version? >> >> As I understand it, the revision ID refers to the whole repository, not >> just a branch. So if you do your own svn checkout tomorrow, you'll get >> yet another revision number, even though the files will (probably) be >> completely identical to what you checked out yesterday -- ongoing >> commits to HEAD will keep kicking the revision number up. >> >> There is work going on to make system builds completely, bit-for-bit, >> repeatable, but that will presumably mean getting rid of this revision >> number information, not making it consistent. > I hope it will be removed soon, it pollutes the uname -a output. It's easy enough to add a stage in the kernel build to remove it if you don't like it, but in most source-update environments it's a very valuable piece of information. Even if a reproduceable-build infrastructure is put in place, it would have to be optional because this information is necessary in heterogeneous environments. I don't know that anyone's working on it the moment -- I *thought* I'd read something about it recently, but I can't find any reference to such an effort this year. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 22:44:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4518A26A for ; Tue, 18 Dec 2012 22:44:32 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ee0-f51.google.com (mail-ee0-f51.google.com [74.125.83.51]) by mx1.freebsd.org (Postfix) with ESMTP id BF9948FC15 for ; Tue, 18 Dec 2012 22:44:31 +0000 (UTC) Received: by mail-ee0-f51.google.com with SMTP id d4so656016eek.38 for ; Tue, 18 Dec 2012 14:44:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=3m05Vjuv1zoLmGTWt7uKBd3/LyG/1MQfg8pN6cz6ncA=; b=ieVvzXbifafFEOR56uekq8Nv0qLTXQvBriBKowVV/VozXD2bXmkkLuQSSC0QN/zBY5 RQdVGWbatQaMydbvBK8cfRu9WZ/SNQcHDstuDGD1qNyUYPRhdKfEmKQnO9aOUiPzUQgK shomK/vY9QdS3re69CYFbHweCtxlx39NqWez9dgrpQ0sTSjA4FZULl9Yg0DheJfRBf4k Z2IVConuYD5LOMY1z5e5XKdAMeQGzorY9+9qxRyIV6J8W+jke5oY4tNQE+QaXj1rDN3a ETPH47inL6kypid2qdEnDngziD4cuzJ5MtpPFS6/F85FYlPzIB3QCMZah1uyNv3aMUtR vCqw== X-Received: by 10.14.215.6 with SMTP id d6mr9245944eep.40.1355870670490; Tue, 18 Dec 2012 14:44:30 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id b49sm5901779eem.16.2012.12.18.14.44.27 (version=SSLv3 cipher=OTHER); Tue, 18 Dec 2012 14:44:29 -0800 (PST) Date: Tue, 18 Dec 2012 22:44:25 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: updatedb? Message-ID: <20121218224425.49f2f481@gumby.homeunix.com> In-Reply-To: <20121218225329.f465fc6a.freebsd@edvax.de> References: <20121218213250.131de35c@gumby.homeunix.com> <20121218225329.f465fc6a.freebsd@edvax.de> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 22:44:32 -0000 On Tue, 18 Dec 2012 22:53:29 +0100 Polytropon wrote: > On Tue, 18 Dec 2012 21:32:50 +0000, RW wrote: > > On Tue, 18 Dec 2012 21:01:33 +0000 (UTC) > > Walter Hurry wrote: > > > > > $ sudo /usr/libexec/locate.updatedb > > > >>> WARNING > > > >>> Executing updatedb as root. This WILL reveal all filenames > > > >>> on your machine to all login users, which is a security risk. > > > $ > > > > > > Why is it a "security risk"? Security through obscurity? Really? > > > In this day and age? > > > > > > Or am I missing something? > > > > If permissions have been set to prevent other users reading > > filenames then obviously leaking file names is security issue. > > There are no "leaking file names", There is from the perspective of an ordinary user that's configured directories under ~ to be confidential. > as by command, the tool does > what it is requested to: to not obey the restrictions that apply > in its _normal_ use and list _all_ file names instead. Obviously. But the warning is intended for people that haven't thought through the consequences of what they are doing. On Tue, 18 Dec 2012 22:49:43 +0100 Bas Smeelen wrote: > Yes. But as stated before it defaults to run as user nobody. > > Line 26 /etc/periodic/weekly/310.locate > echo /usr/libexec/locate.updatedb | nice -n 5 su -fm nobody || rc=3 This is true but not very relevant. It runs as nobody from the periodic script, but the warning comes from locate.updatedb itself, which may be run independently of 310.locate. > If someone runs it as root it can be, as everything being run as > root, a security issue. Not really, mostly when things are run as root there is an additional risk. Very few things do the wrong thing simply as a consequence of running as root so it warrants a warning. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 23:06:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 852A5C1B for ; Tue, 18 Dec 2012 23:06:59 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 15DAA8FC14 for ; Tue, 18 Dec 2012 23:06:57 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Wed, 19 Dec 2012 00:06:55 +0100 Message-ID: <50D0F70F.8030500@ose.nl> Date: Wed, 19 Dec 2012 00:06:55 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: updatedb? References: <20121218213250.131de35c@gumby.homeunix.com> <20121218225329.f465fc6a.freebsd@edvax.de> <20121218224425.49f2f481@gumby.homeunix.com> In-Reply-To: <20121218224425.49f2f481@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 23:06:59 -0000 On 12/18/12 23:44, RW wrote: > On Tue, 18 Dec 2012 22:53:29 +0100 > Polytropon wrote: > >> On Tue, 18 Dec 2012 21:32:50 +0000, RW wrote: >>> On Tue, 18 Dec 2012 21:01:33 +0000 (UTC) >>> Walter Hurry wrote: >>> >>>> $ sudo /usr/libexec/locate.updatedb >>>>>>> WARNING >>>>>>> Executing updatedb as root. This WILL reveal all filenames >>>>>>> on your machine to all login users, which is a security risk. >>>> $ >>>> >>>> Why is it a "security risk"? Security through obscurity? Really? >>>> In this day and age? >>>> >>>> Or am I missing something? >>> If permissions have been set to prevent other users reading >>> filenames then obviously leaking file names is security issue. >> There are no "leaking file names", > There is from the perspective of an ordinary user that's configured > directories under ~ to be confidential. > >> as by command, the tool does >> what it is requested to: to not obey the restrictions that apply >> in its _normal_ use and list _all_ file names instead. > Obviously. But the warning is intended for people that haven't > thought through the consequences of what they are doing. Agree. It is good to be there. Should be clear to Walter I guess. It is not security through obscurity, it is security by permissions and controls, and root can circumvent these and expose potential security risks by information to others or the world, thus the warning when running it as root. Thanks. > > On Tue, 18 Dec 2012 22:49:43 +0100 > Bas Smeelen wrote: > > >> Yes. But as stated before it defaults to run as user nobody. >> >> Line 26 /etc/periodic/weekly/310.locate >> echo /usr/libexec/locate.updatedb | nice -n 5 su -fm nobody || rc=3 > This is true but not very relevant. > > It runs as nobody from the periodic script, but the warning comes from > locate.updatedb itself, which may be run independently of 310.locate. > >> If someone runs it as root it can be, as everything being run as >> root, a security issue. > Not really, mostly when things are run as root there is an additional > risk. Very few things do the wrong thing simply as a consequence of > running as root so it warrants a warning. Fully agree. Root can be a liability though. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 23:10:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3D96124 for ; Tue, 18 Dec 2012 23:10:34 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 325EB8FC19 for ; Tue, 18 Dec 2012 23:10:33 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Wed, 19 Dec 2012 00:10:31 +0100 Message-ID: <50D0F7E7.2070809@ose.nl> Date: Wed, 19 Dec 2012 00:10:31 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: updatedb? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 23:10:34 -0000 On 12/18/12 23:04, C. P. Ghost wrote: > On Tue, Dec 18, 2012 at 10:01 PM, Walter Hurry wrote: >> $ sudo /usr/libexec/locate.updatedb >>>>> WARNING >>>>> Executing updatedb as root. This WILL reveal all filenames >>>>> on your machine to all login users, which is a security risk. >> $ >> >> Why is it a "security risk"? Security through obscurity? Really? In this >> day and age? >> >> Or am I missing something? > Suppose someone managed to start a shell under your account > and is seeking to escalate privileges, i.e. to become root. If he can > look at a full unrestricted locatedb, he may pay particular attention > to config files, log files etc... that may otherwise be hidden from sight. > > Just by looking at this, he may infer that a particular software package > at a particular revision is actually running on that host and is configured > in a particular way. E.g., he may see that logfiles accumulate in /var/log > and are cleaned only once a week. It would be then easy to induce that > program to create more log files, thus denying service to other programs > that need /var as well. This, in turn, could result in real exploits of those > other programs... > > Sure, most of this is already world-visible and in the regular locatedb > because we're so liberal with the rights of /var/db/pkg, /var/log, /etc, ... but > some admins prefer to hide particularly sensitive programs, their configs, > logs etc., in a non-world-readable directory hierarchy. Running > locate.updatedb(8) with root privileges would defeat that strategy. > That's why it is discouraged. > > Of course, this is even more necessary when you have regular users on > that machine that don't necessarily trust each others. They wouldn't like > their home dirs to be world-readable by default by everyone else. Maybe > they won't object (and set /home/$USER to -rwxr-xr-x instead of -rwxr-x--- > or -rwx------) but that's their call, not the sysadmin's. > > -cpghost. > Sorry, cpghost, I missed the point. Clear explanation. Should such programs be modified so there is never a change to being run as root? I guess there are environments where measures like these are taken, no warning, just refuse to run as root? From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 00:32:52 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 491C4DD7 for ; Wed, 19 Dec 2012 00:32:52 +0000 (UTC) (envelope-from kline@thought.org) Received: from smtpauth20.prod.mesa1.secureserver.net (smtpauth20.prod.mesa1.secureserver.net [64.202.165.36]) by mx1.freebsd.org (Postfix) with SMTP id 0A7298FC14 for ; Wed, 19 Dec 2012 00:32:51 +0000 (UTC) Received: (qmail 14629 invoked from network); 19 Dec 2012 00:26:11 -0000 Received: from unknown (209.180.213.209) by smtpauth20.prod.mesa1.secureserver.net (64.202.165.36) with ESMTP; 19 Dec 2012 00:26:11 -0000 Date: Tue, 18 Dec 2012 16:26:10 -0800 From: Gary Kline To: FreeBSD Mailing List Subject: which C function is best to check for directory EXISTANCE? Message-ID: <20121219002610.GA12470@ethic.thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 00:32:52 -0000 which C function is best to check for the existence of a *directory*? say that I am want to make postitve that "/tmp/foo/" exists. ALso: which will make sure that the directory AND ffile "tmp/foo/filename12345" exists and that I have read access to it? in other words, can playing around with access() and stat() be best? is there any new dirstat("PATh") that would work? just want to see which way is best? dank mucho, y'all! gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 00:46:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 653CBFE3 for ; Wed, 19 Dec 2012 00:46:37 +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 206598FC14 for ; Wed, 19 Dec 2012 00:46:36 +0000 (UTC) Received: from r56.edvax.de (port-92-195-94-87.dynamic.qsc.de [92.195.94.87]) by mx02.qsc.de (Postfix) with ESMTP id 49E3C276E4; Wed, 19 Dec 2012 01:46:35 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBJ0kbl1004420; Wed, 19 Dec 2012 01:46:37 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 19 Dec 2012 01:46:37 +0100 From: Polytropon To: Gary Kline Subject: Re: which C function is best to check for directory EXISTANCE? Message-Id: <20121219014637.6e4728e3.freebsd@edvax.de> In-Reply-To: <20121219002610.GA12470@ethic.thought.org> References: <20121219002610.GA12470@ethic.thought.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 00:46:37 -0000 On Tue, 18 Dec 2012 16:26:10 -0800, Gary Kline wrote: > > which C function is best to check for the existence of a > *directory*? say that I am want to make postitve that "/tmp/foo/" > exists. That can be done with the opendir() function; its manpage lists other interesting "follow-up functions" to work with. > ALso: which will make sure that the directory AND ffile > "tmp/foo/filename12345" exists and that I have read access to it? You can use readdir() and parse its output. If you already know the file name, use a fopen() call for the mode you're trying to open it with (e. g. "r" or "w") to see if the permissions are set accordingly. Also ferror() can be used to test for specific errors that may occur during file operations. > in other words, can playing around with access() and stat() be > best? That also sounds possible. In case you're going to continue to operate with the file in question, certain functions sound better. But for the "pure testing", access() and stat() provide sufficient functionality. > is there any new dirstat("PATh") that would work? $ man dirstat No manual entry for dirstat :-) > just want to see which way is best? Depends. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 00:53:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DDF4233A for ; Wed, 19 Dec 2012 00:53:42 +0000 (UTC) (envelope-from jhein@symmetricom.com) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 9F3DA8FC17 for ; Wed, 19 Dec 2012 00:53:42 +0000 (UTC) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id qBJ0rcwu069707; Tue, 18 Dec 2012 17:53:38 -0700 (MST) (envelope-from jhein@symmetricom.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.5/8.14.5) with ESMTP id qBJ0rGx0004442; Tue, 18 Dec 2012 17:53:16 -0700 (MST) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.5/8.14.5/Submit) id qBJ0rChm004441; Tue, 18 Dec 2012 17:53:12 -0700 (MST) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20689.4087.859208.619511@gromit.timing.com> Date: Tue, 18 Dec 2012 17:53:11 -0700 From: John Hein To: Tim Daneliuk Subject: Re: Somewhat OT: Is Full Command Logging Possible? In-Reply-To: <50BFDD51.5000100@tundraware.com> References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> X-Mailer: VM 8.2.0b-turnk-1413 under 24.2.1 (i386-portbld-freebsd7.4) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 00:53:42 -0000 Tim Daneliuk wrote at 17:48 -0600 on Dec 5, 2012: > On 12/05/2012 05:44 PM, Kurt Buff wrote: > > On Wed, Dec 5, 2012 at 3:19 PM, Tim Daneliuk wrote: > >> I am working with an institution that today provides limited privilege > >> escalation > >> on their servers via very specific sudo rules. The problem is that the > >> administrators can do 'sudo su -'. > > > > > > > > sudo is misconfigured. > > > > man 5 sudoers and man 8 visudo > > > > > > > > Kurt > > > > I'm sorry Kurt, I'm sort of dense today, I'm not sure what you're > saying. Are you suggesting that there is a way to configure > sudo so that if someone does 'sudo su -' to become an admin, > sudo can be made to log every command they execute thereafter? See log_input and log_output in sudoers(5) From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 01:09:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A29705B8 for ; Wed, 19 Dec 2012 01:09:38 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 5B74F8FC0A for ; Wed, 19 Dec 2012 01:09:37 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id qBJ19KV7015184 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 18 Dec 2012 19:09:20 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <50D113C0.3020607@tundraware.com> Date: Tue, 18 Dec 2012 19:09:20 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Re: Somewhat OT: Is Full Command Logging Possible? References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> <20689.4087.859208.619511@gromit.timing.com> In-Reply-To: <20689.4087.859208.619511@gromit.timing.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Tue, 18 Dec 2012 19:09:20 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: qBJ19KV7015184 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 01:09:38 -0000 On 12/18/2012 06:53 PM, John Hein wrote: > Tim Daneliuk wrote at 17:48 -0600 on Dec 5, 2012: > > On 12/05/2012 05:44 PM, Kurt Buff wrote: > > > On Wed, Dec 5, 2012 at 3:19 PM, Tim Daneliuk wrote: > > >> I am working with an institution that today provides limited privilege > > >> escalation > > >> on their servers via very specific sudo rules. The problem is that the > > >> administrators can do 'sudo su -'. > > > > > > > > > > > > sudo is misconfigured. > > > > > > man 5 sudoers and man 8 visudo > > > > > > > > > > > > Kurt > > > > > > > I'm sorry Kurt, I'm sort of dense today, I'm not sure what you're > > saying. Are you suggesting that there is a way to configure > > sudo so that if someone does 'sudo su -' to become an admin, > > sudo can be made to log every command they execute thereafter? > > See log_input and log_output in sudoers(5) Thanks so much John, that's the secret sauce I was looking for... -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 01:18:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69C208E4 for ; Wed, 19 Dec 2012 01:18:26 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 096F48FC13 for ; Wed, 19 Dec 2012 01:18:25 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id qBJ1IH6Q015360 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 18 Dec 2012 19:18:17 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <50D115D9.6090608@tundraware.com> Date: Tue, 18 Dec 2012 19:18:17 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Re: Somewhat OT: Is Full Command Logging Possible? References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> <20689.4087.859208.619511@gromit.timing.com> <50D113C0.3020607@tundraware.com> In-Reply-To: <50D113C0.3020607@tundraware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Tue, 18 Dec 2012 19:18:17 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: qBJ1IH6Q015360 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 01:18:26 -0000 On 12/18/2012 07:09 PM, Tim Daneliuk wrote: > On 12/18/2012 06:53 PM, John Hein wrote: >> Tim Daneliuk wrote at 17:48 -0600 on Dec 5, 2012: >> > On 12/05/2012 05:44 PM, Kurt Buff wrote: >> > > On Wed, Dec 5, 2012 at 3:19 PM, Tim Daneliuk wrote: >> > >> I am working with an institution that today provides limited privilege >> > >> escalation >> > >> on their servers via very specific sudo rules. The problem is that the >> > >> administrators can do 'sudo su -'. >> > > >> > > >> > > >> > > sudo is misconfigured. >> > > >> > > man 5 sudoers and man 8 visudo >> > > >> > > >> > > >> > > Kurt >> > > >> > >> > I'm sorry Kurt, I'm sort of dense today, I'm not sure what you're >> > saying. Are you suggesting that there is a way to configure >> > sudo so that if someone does 'sudo su -' to become an admin, >> > sudo can be made to log every command they execute thereafter? >> >> See log_input and log_output in sudoers(5) > > Thanks so much John, that's the secret sauce I was looking for... > > One further question, if I may. If I do this: sudo su - Will log_input record everything I do once I've been promoted to root? I ask because my initial experiments seem to show that all that's getting recorded is the content of the sudo command itself, not the subsequent actions... -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 01:33:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 43D3DD7B for ; Wed, 19 Dec 2012 01:33:44 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 043A58FC17 for ; Wed, 19 Dec 2012 01:33:43 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa05.fnfis.com (8.14.5/8.14.5) with ESMTP id qBJ1XVUG023606 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 18 Dec 2012 19:33:31 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.31) with Microsoft SMTP Server (TLS) id 14.2.309.2; Tue, 18 Dec 2012 19:33:31 -0600 Subject: Re: Somewhat OT: Is Full Command Logging Possible? MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="windows-1252" From: Devin Teske In-Reply-To: <50D115D9.6090608@tundraware.com> Date: Tue, 18 Dec 2012 17:33:30 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: <57543CB2-2C92-434A-959B-C1CF5FC01600@fisglobal.com> References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> <20689.4087.859208.619511@gromit.timing.com> <50D113C0.3020607@tundraware.com> <50D115D9.6090608@tundraware.com> To: Tim Daneliuk X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2012-12-19_01:2012-12-18,2012-12-19,1970-01-01 signatures=0 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 01:33:44 -0000 On Dec 18, 2012, at 5:18 PM, Tim Daneliuk wrote: > On 12/18/2012 07:09 PM, Tim Daneliuk wrote: >> On 12/18/2012 06:53 PM, John Hein wrote: >>> Tim Daneliuk wrote at 17:48 -0600 on Dec 5, 2012: >>> > On 12/05/2012 05:44 PM, Kurt Buff wrote: >>> > > On Wed, Dec 5, 2012 at 3:19 PM, Tim Daneliuk wrote: >>> > >> I am working with an institution that today provides limited priv= ilege >>> > >> escalation >>> > >> on their servers via very specific sudo rules. The problem is th= at the >>> > >> administrators can do 'sudo su -'. >>> > > >>> > > >>> > > >>> > > sudo is misconfigured. >>> > > >>> > > man 5 sudoers and man 8 visudo >>> > > >>> > > >>> > > >>> > > Kurt >>> > > >>> > >>> > I'm sorry Kurt, I'm sort of dense today, I'm not sure what you're >>> > saying. Are you suggesting that there is a way to configure >>> > sudo so that if someone does 'sudo su -' to become an admin, >>> > sudo can be made to log every command they execute thereafter? >>>=20 >>> See log_input and log_output in sudoers(5) >>=20 >> Thanks so much John, that's the secret sauce I was looking for... >>=20 >>=20 >=20 > One further question, if I may. If I do this: >=20 > sudo su - >=20 > Will log_input record everything I do once I've been promoted to > root? I ask because my initial experiments seem to show that all > that's getting recorded is the content of the sudo command itself, > not the subsequent actions=85 >=20 Correct, sudo is blind to the actions performed once the command requested = is executed (in this case, "su" and subsequently a shell followed by more a= ctions). I've suggested the lrexec module for catching everything, or you can look i= nto the auditdistd (distributed auditing collection/collation to a remote/c= entral server) approach, the praudit approach, or any of the other pieces o= f software mentions. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 01:43:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 536DAFBF for ; Wed, 19 Dec 2012 01:43:42 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id E4C268FC12 for ; Wed, 19 Dec 2012 01:43:41 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id qBJ1hWoO015701 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 18 Dec 2012 19:43:32 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <50D11BC4.5080803@tundraware.com> Date: Tue, 18 Dec 2012 19:43:32 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Re: Somewhat OT: Is Full Command Logging Possible? References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> <20689.4087.859208.619511@gromit.timing.com> <50D113C0.3020607@tundraware.com> <50D115D9.6090608@tundraware.com> <57543CB2-2C92-434A-959B-C1CF5FC01600@fisglobal.com> In-Reply-To: <57543CB2-2C92-434A-959B-C1CF5FC01600@fisglobal.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Tue, 18 Dec 2012 19:43:32 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: qBJ1hWoO015701 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 01:43:42 -0000 On 12/18/2012 07:33 PM, Devin Teske wrote: > > On Dec 18, 2012, at 5:18 PM, Tim Daneliuk wrote: > >>> >> >> One further question, if I may. If I do this: >> >> sudo su - >> >> Will log_input record everything I do once I've been promoted to >> root? I ask because my initial experiments seem to show that all >> that's getting recorded is the content of the sudo command itself, >> not the subsequent actions… >> > > Correct, sudo is blind to the actions performed once the command requested is executed (in this case, "su" and subsequently a shell followed by more actions). > Actually, I just tried this with both log_input and log_output options enabled. It seems that it *can* see into the promoted shell with a few caveats: - Command output is logged immediately, but command inputs appear to only be written to the log when you exit the promoted shell. This may be not quite right - there may have not been enough input to cause a write flush to the log. - The logging seems to be able to see into a spawned subshell, but I don't think it can see input/output if you, say, kick off an xterm. > I've suggested the lrexec module for catching everything, or you can look into the auditdistd (distributed auditing collection/collation to a remote/central server) approach, the praudit approach, or any of the other pieces of software mentions. > -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 02:03:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F2D8D4B6 for ; Wed, 19 Dec 2012 02:03:32 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id B10BE8FC0A for ; Wed, 19 Dec 2012 02:03:32 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa06.fnfis.com (8.14.5/8.14.5) with ESMTP id qBJ23VvH014798 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 18 Dec 2012 20:03:32 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.2.309.2; Tue, 18 Dec 2012 20:03:31 -0600 Subject: Re: Somewhat OT: Is Full Command Logging Possible? MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="windows-1252" From: Devin Teske In-Reply-To: <50D11BC4.5080803@tundraware.com> Date: Tue, 18 Dec 2012 18:03:30 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> <20689.4087.859208.619511@gromit.timing.com> <50D113C0.3020607@tundraware.com> <50D115D9.6090608@tundraware.com> <57543CB2-2C92-434A-959B-C1CF5FC01600@fisglobal.com> <50D11BC4.5080803@tundraware.com> To: Tim Daneliuk X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2012-12-19_01:2012-12-18,2012-12-19,1970-01-01 signatures=0 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 02:03:33 -0000 On Dec 18, 2012, at 5:43 PM, Tim Daneliuk wrote: > On 12/18/2012 07:33 PM, Devin Teske wrote: >>=20 >> On Dec 18, 2012, at 5:18 PM, Tim Daneliuk wrote: >>=20 >=20 >>>>=20 >>>=20 >>> One further question, if I may. If I do this: >>>=20 >>> sudo su - >>>=20 >>> Will log_input record everything I do once I've been promoted to >>> root? I ask because my initial experiments seem to show that all >>> that's getting recorded is the content of the sudo command itself, >>> not the subsequent actions=85 >>>=20 >>=20 >> Correct, sudo is blind to the actions performed once the command request= ed is executed (in this case, "su" and subsequently a shell followed by mor= e actions). >>=20 >=20 > Actually, I just tried this with both log_input and log_output options en= abled. > It seems that it *can* see into the promoted shell with a few caveats: >=20 > - Command output is logged immediately, but command inputs appear to only > be written to the log when you exit the promoted shell. This may be > not quite right - there may have not been enough input to cause a > write flush to the log. >=20 > - The logging seems to be able to see into a spawned subshell, but > I don't think it can see input/output if you, say, kick off an xterm. >=20 What about if you do "sudo vim" and then type ":sh" ? --=20 Devin >=20 >> I've suggested the lrexec module for catching everything, or you can loo= k into the auditdistd (distributed auditing collection/collation to a remot= e/central server) approach, the praudit approach, or any of the other piece= s of software mentions. >>=20 _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 02:21:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63EB97ED for ; Wed, 19 Dec 2012 02:21:07 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id F29258FC0C for ; Wed, 19 Dec 2012 02:21:06 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id qBJ2Kv9k016481 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 18 Dec 2012 20:20:57 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <50D12489.20507@tundraware.com> Date: Tue, 18 Dec 2012 20:20:57 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Re: Somewhat OT: Is Full Command Logging Possible? References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> <20689.4087.859208.619511@gromit.timing.com> <50D113C0.3020607@tundraware.com> <50D115D9.6090608@tundraware.com> <57543CB2-2C92-434A-959B-C1CF5FC01600@fisglobal.com> <50D11BC4.5080803@tundraware.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Tue, 18 Dec 2012 20:20:57 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: qBJ2Kv9k016481 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 02:21:07 -0000 On 12/18/2012 08:03 PM, Devin Teske wrote: > > On Dec 18, 2012, at 5:43 PM, Tim Daneliuk wrote: > >> On 12/18/2012 07:33 PM, Devin Teske wrote: >>> >>> On Dec 18, 2012, at 5:18 PM, Tim Daneliuk wrote: >>> >> >>>>> >>>> >>>> One further question, if I may. If I do this: >>>> >>>> sudo su - >>>> >>>> Will log_input record everything I do once I've been promoted to >>>> root? I ask because my initial experiments seem to show that all >>>> that's getting recorded is the content of the sudo command itself, >>>> not the subsequent actions… >>>> >>> >>> Correct, sudo is blind to the actions performed once the command requested is executed (in this case, "su" and subsequently a shell followed by more actions). >>> >> >> Actually, I just tried this with both log_input and log_output options enabled. >> It seems that it *can* see into the promoted shell with a few caveats: >> >> - Command output is logged immediately, but command inputs appear to only >> be written to the log when you exit the promoted shell. This may be >> not quite right - there may have not been enough input to cause a >> write flush to the log. >> >> - The logging seems to be able to see into a spawned subshell, but >> I don't think it can see input/output if you, say, kick off an xterm. >> > > What about if you do "sudo vim" and then type ":sh" ? Yep, I just tried that too. It catches that. It also catches the in/output of subshells - like, say, kicking off sh interactively. Similarly, if you're running text-based emacs, it catches the output of spawning to a shell from there and doing things. The only restriction I have run into so far, it that - for obvious reasons - sudo cannot see into what you're doing if you kick off an X application like xterm or graphical emacs, for instance. > -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 02:27:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C6DC8D2 for ; Wed, 19 Dec 2012 02:27:41 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 5431A8FC1D for ; Wed, 19 Dec 2012 02:27:41 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id qBJ2RWJd016578 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 18 Dec 2012 20:27:32 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <50D12614.40503@tundraware.com> Date: Tue, 18 Dec 2012 20:27:32 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Re: Somewhat OT: Is Full Command Logging Possible? References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> <20689.4087.859208.619511@gromit.timing.com> <50D113C0.3020607@tundraware.com> <50D115D9.6090608@tundraware.com> <57543CB2-2C92-434A-959B-C1CF5FC01600@fisglobal.com> <50D11BC4.5080803@tundraware.com> <50D12489.20507@tundraware.com> In-Reply-To: <50D12489.20507@tundraware.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Tue, 18 Dec 2012 20:27:32 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: qBJ2RWJd016578 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 02:27:41 -0000 On 12/18/2012 08:20 PM, Tim Daneliuk wrote: > On 12/18/2012 08:03 PM, Devin Teske wrote: >> >> On Dec 18, 2012, at 5:43 PM, Tim Daneliuk wrote: >> >>> On 12/18/2012 07:33 PM, Devin Teske wrote: >>>> >>>> On Dec 18, 2012, at 5:18 PM, Tim Daneliuk wrote: >>>> >>> >>>>>> >>>>> >>>>> One further question, if I may. If I do this: >>>>> >>>>> sudo su - >>>>> >>>>> Will log_input record everything I do once I've been promoted to >>>>> root? I ask because my initial experiments seem to show that all >>>>> that's getting recorded is the content of the sudo command itself, >>>>> not the subsequent actions… >>>>> >>>> >>>> Correct, sudo is blind to the actions performed once the command requested is executed (in this case, "su" and subsequently a shell followed by more actions). >>>> >>> >>> Actually, I just tried this with both log_input and log_output options enabled. >>> It seems that it *can* see into the promoted shell with a few caveats: >>> >>> - Command output is logged immediately, but command inputs appear to only >>> be written to the log when you exit the promoted shell. This may be >>> not quite right - there may have not been enough input to cause a >>> write flush to the log. >>> >>> - The logging seems to be able to see into a spawned subshell, but >>> I don't think it can see input/output if you, say, kick off an xterm. >>> >> >> What about if you do "sudo vim" and then type ":sh" ? > > Yep, I just tried that too. It catches that. It also catches > the in/output of subshells - like, say, kicking off sh interactively. > Similarly, if you're running text-based emacs, it catches the output > of spawning to a shell from there and doing things. > > The only restriction I have run into so far, it that - for obvious > reasons - sudo cannot see into what you're doing if you kick off > an X application like xterm or graphical emacs, for instance. I should clarify that I tested this not on FreeBSD but on a Mint Linux desktop I had handy. I would expect the same behavior everywhere, though, since sudo itself is reasonably portable... -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 03:40:11 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 950A775 for ; Wed, 19 Dec 2012 03:40:11 +0000 (UTC) (envelope-from vogelke@hcst.net) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 53AB38FC0C for ; Wed, 19 Dec 2012 03:40:11 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id qBJ3YUVc029288 for ; Tue, 18 Dec 2012 22:34:30 -0500 Received: (from vogelke@localhost) by beta.hcst.com (8.14.3/8.14.3/Submit) id qBJ3YUAs029287; Tue, 18 Dec 2012 22:34:30 -0500 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id F3E10BF24; Tue, 18 Dec 2012 22:34:15 -0500 (EST) To: freebsd-questions@FreeBSD.ORG In-reply-to: <20121219002610.GA12470@ethic.thought.org> (message from Gary Kline on Tue, 18 Dec 2012 16:26:10 -0800) Subject: Re: which C function is best to check for directory EXISTANCE? Organization: Array Infotech X-Disclaimer: I don't speak for the USAF or Array Infotech. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 References: <20121219002610.GA12470@ethic.thought.org> Message-Id: <20121219033415.F3E10BF24@kev.msw.wpafb.af.mil> Date: Tue, 18 Dec 2012 22:34:15 -0500 (EST) From: vogelke+unix@pobox.com (Karl Vogel) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 03:40:11 -0000 >> On Tue, 18 Dec 2012 16:26:10 -0800, >> Gary Kline said: G> which C function is best to check for the existence of a *directory*? G> say that I am want to make postitve that "/tmp/foo/" exists. ALso: G> which will make sure that the directory AND file G> "tmp/foo/filename12345" exists and that I have read access to it? I'd just call open() with O_RDONLY and if it fails, check errno for EACCESS (you don't have permission) or ENOENT (doesn't exist). -- Karl Vogel I don't speak for the USAF or my company USELESS PHRASES WHEN SPEAKING TO A COP #9: "You're not gonna check the trunk, are you?" From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 04:10:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C81C0641 for ; Wed, 19 Dec 2012 04:10:17 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 85DD08FC1A for ; Wed, 19 Dec 2012 04:10:17 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa03.fnfis.com (8.14.5/8.14.5) with ESMTP id qBJ4AGxx008371 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 18 Dec 2012 22:10:16 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.31) with Microsoft SMTP Server (TLS) id 14.2.309.2; Tue, 18 Dec 2012 22:10:15 -0600 Subject: Re: Somewhat OT: Is Full Command Logging Possible? MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="windows-1252" From: Devin Teske In-Reply-To: <50D12489.20507@tundraware.com> Date: Tue, 18 Dec 2012 20:10:01 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: <77873574-DBFA-4A5E-A418-F3482EF0C643@fisglobal.com> References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> <20689.4087.859208.619511@gromit.timing.com> <50D113C0.3020607@tundraware.com> <50D115D9.6090608@tundraware.com> <57543CB2-2C92-434A-959B-C1CF5FC01600@fisglobal.com> <50D11BC4.5080803@tundraware.com> <50D12489.20507@tundraware.com> To: Tim Daneliuk X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2012-12-19_02:2012-12-18,2012-12-19,1970-01-01 signatures=0 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 04:10:17 -0000 On Dec 18, 2012, at 6:20 PM, Tim Daneliuk wrote: > On 12/18/2012 08:03 PM, Devin Teske wrote: >>=20 >> On Dec 18, 2012, at 5:43 PM, Tim Daneliuk wrote: >>=20 >>> On 12/18/2012 07:33 PM, Devin Teske wrote: >>>>=20 >>>> On Dec 18, 2012, at 5:18 PM, Tim Daneliuk wrote: >>>>=20 >>>=20 >>>>>>=20 >>>>>=20 >>>>> One further question, if I may. If I do this: >>>>>=20 >>>>> sudo su - >>>>>=20 >>>>> Will log_input record everything I do once I've been promoted to >>>>> root? I ask because my initial experiments seem to show that all >>>>> that's getting recorded is the content of the sudo command itself, >>>>> not the subsequent actions=85 >>>>>=20 >>>>=20 >>>> Correct, sudo is blind to the actions performed once the command reque= sted is executed (in this case, "su" and subsequently a shell followed by m= ore actions). >>>>=20 >>>=20 >>> Actually, I just tried this with both log_input and log_output options = enabled. >>> It seems that it *can* see into the promoted shell with a few caveats: >>>=20 >>> - Command output is logged immediately, but command inputs appear to o= nly >>> be written to the log when you exit the promoted shell. This may be >>> not quite right - there may have not been enough input to cause a >>> write flush to the log. >>>=20 >>> - The logging seems to be able to see into a spawned subshell, but >>> I don't think it can see input/output if you, say, kick off an xterm. >>>=20 >>=20 >> What about if you do "sudo vim" and then type ":sh" ? >=20 > Yep, I just tried that too. It catches that. It also catches > the in/output of subshells - like, say, kicking off sh interactively. > Similarly, if you're running text-based emacs, it catches the output > of spawning to a shell from there and doing things. >=20 > The only restriction I have run into so far, it that - for obvious > reasons - sudo cannot see into what you're doing if you kick off > an X application like xterm or graphical emacs, for instance. >=20 What about screen or tmux? (wondering if the transition into multiplexed sh= ell is anywhere as opaque as X11). --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 04:21:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 135149B2 for ; Wed, 19 Dec 2012 04:21:39 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id BFFBA8FC12 for ; Wed, 19 Dec 2012 04:21:38 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id qBJ4LQQ6018759 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 18 Dec 2012 22:21:26 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <50D140C6.6080602@tundraware.com> Date: Tue, 18 Dec 2012 22:21:26 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Re: Somewhat OT: Is Full Command Logging Possible? References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> <20689.4087.859208.619511@gromit.timing.com> <50D113C0.3020607@tundraware.com> <50D115D9.6090608@tundraware.com> <57543CB2-2C92-434A-959B-C1CF5FC01600@fisglobal.com> <50D11BC4.5080803@tundraware.com> <50D12489.20507@tundraware.com> <77873574-DBFA-4A5E-A418-F3482EF0C643@fisglobal.com> In-Reply-To: <77873574-DBFA-4A5E-A418-F3482EF0C643@fisglobal.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Tue, 18 Dec 2012 22:21:26 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: qBJ4LQQ6018759 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 04:21:39 -0000 On 12/18/2012 10:10 PM, Devin Teske wrote: > > On Dec 18, 2012, at 6:20 PM, Tim Daneliuk wrote: > >> On 12/18/2012 08:03 PM, Devin Teske wrote: >>> >>> On Dec 18, 2012, at 5:43 PM, Tim Daneliuk wrote: >>> >>>> On 12/18/2012 07:33 PM, Devin Teske wrote: >>>>> >>>>> On Dec 18, 2012, at 5:18 PM, Tim Daneliuk wrote: >>>>> >>>> >>>>>>> >>>>>> >>>>>> One further question, if I may. If I do this: >>>>>> >>>>>> sudo su - >>>>>> >>>>>> Will log_input record everything I do once I've been promoted to >>>>>> root? I ask because my initial experiments seem to show that all >>>>>> that's getting recorded is the content of the sudo command itself, >>>>>> not the subsequent actions… >>>>>> >>>>> >>>>> Correct, sudo is blind to the actions performed once the command requested is executed (in this case, "su" and subsequently a shell followed by more actions). >>>>> >>>> >>>> Actually, I just tried this with both log_input and log_output options enabled. >>>> It seems that it *can* see into the promoted shell with a few caveats: >>>> >>>> - Command output is logged immediately, but command inputs appear to only >>>> be written to the log when you exit the promoted shell. This may be >>>> not quite right - there may have not been enough input to cause a >>>> write flush to the log. >>>> >>>> - The logging seems to be able to see into a spawned subshell, but >>>> I don't think it can see input/output if you, say, kick off an xterm. >>>> >>> >>> What about if you do "sudo vim" and then type ":sh" ? >> >> Yep, I just tried that too. It catches that. It also catches >> the in/output of subshells - like, say, kicking off sh interactively. >> Similarly, if you're running text-based emacs, it catches the output >> of spawning to a shell from there and doing things. >> >> The only restriction I have run into so far, it that - for obvious >> reasons - sudo cannot see into what you're doing if you kick off >> an X application like xterm or graphical emacs, for instance. >> > > What about screen or tmux? (wondering if the transition into multiplexed shell is anywhere as opaque as X11). > It definitely works if you are in a screen session and sudo su - from there. I have not tried promoting myself to root and THEN starting the screen session (I don't use tmux). -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 05:27:27 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ABD3667B for ; Wed, 19 Dec 2012 05:27:27 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [213.184.43.8]) by mx1.freebsd.org (Postfix) with ESMTP id 535128FC13 for ; Wed, 19 Dec 2012 05:27:26 +0000 (UTC) Received: from kuller.raad.tartu.ee (localhost [127.0.0.1]) by kuller.raad.tartu.ee (Postfix) with ESMTP id 70A2239885 for ; Wed, 19 Dec 2012 07:17:39 +0200 (EET) X-Virus-Scanned: amavisd-new at post.raad.tartu.ee Received: from kuller.raad.tartu.ee ([127.0.0.1]) by kuller.raad.tartu.ee (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new, port 10024) with LMTP id aFb1itElATVR for ; Wed, 19 Dec 2012 07:17:38 +0200 (EET) Received: by kuller.raad.tartu.ee (Postfix, from userid 80) id A937439882; Wed, 19 Dec 2012 07:17:37 +0200 (EET) Received: from 76.20.190.90.dyn.estpak.ee (76.20.190.90.dyn.estpak.ee [90.190.20.76]) by webmail.raad.tartu.ee (Horde Framework) with HTTP; Wed, 19 Dec 2012 07:17:37 +0200 Message-ID: <20121219071737.15514j97uh585t0k@webmail.raad.tartu.ee> Date: Wed, 19 Dec 2012 07:17:37 +0200 From: Toomas Aas To: questions@freebsd.org Subject: CPU upgrade vs CPUTYPE MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) X-Originating-IP: 90.190.20.76 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 05:27:27 -0000 Hello! We have a small server running FreeBSD 8.3 amd64 with Intel Pentium D 945 CPU. As the motherboard/CPU combo is getting rather old, we are considering an upgrade to new motherboard with Xeon E3-1230 CPU. We currently have these CPU settings in /etc/make.conf: CPUTYPE?=nocona in kernel configuration: cpu HAMMER Almost all the software is built from ports, few bits compiled directly from source. Base system is maintained by buildworld. Can we expect the software compiled with above CPU settings to run without problems on the Xeon E3? We had a chance recently to try a temporary motherboard/CPU swap in this server, replacing the CPU with Core i3-2xxx and there were some 'signal 11' errors, but I'm not sure whether this was due to incompatible CPUTYPE or something else. Thanks in advance, -- Toomas Aas From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 06:39:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D9136193; Wed, 19 Dec 2012 06:39:07 +0000 (UTC) (envelope-from jnagyjr1978@gmail.com) Received: from mail-ye0-f182.google.com (mail-ye0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 780838FC0A; Wed, 19 Dec 2012 06:39:07 +0000 (UTC) Received: by mail-ye0-f182.google.com with SMTP id q5so360377yen.13 for ; Tue, 18 Dec 2012 22:39:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=822A1LdciUAbmy9LpVtw1of3YaPcbogK/pxKcLx4fAg=; b=zPPVXzrrj5AqyZPdA6ft3IYWZamXvxmqXJP4yOo8SsDLahCyrS4eiBJe65l4Z0HWYE io5LDVlT2Dr38J840K0046AP6Ki1OZaRPAUiPRYCV5HDJtCbkTv0hxsvwKIKBBv4/Fp7 dnYymLlB5kJNT4Ifpu3wbP1RK3gvTOb7STvlDKUEKakioIqk7AmUamP6roTsv76g8auO bT2ClrQHP8udqRxv6xy/XNZqZgHGHI2RnXMdZZjGiSADTsN/2WzMBbqSt03ce+nEfqTU EDY0tJYVCX3nb9Me0/93H8lrUix1r5qjpGz9tRccus9MiCyNsHi/B8ohAAAYVM1RHUz2 CvqA== X-Received: by 10.236.48.37 with SMTP id u25mr4692624yhb.4.1355895871222; Tue, 18 Dec 2012 21:44:31 -0800 (PST) Received: from [192.168.1.33] (vid-196.dhcp.grp10.tnmmrl.infoave.net. [204.116.254.196]) by mx.google.com with ESMTPS id s30sm3744382yhl.21.2012.12.18.21.44.29 (version=SSLv3 cipher=OTHER); Tue, 18 Dec 2012 21:44:30 -0800 (PST) Message-ID: <50D1543B.1030404@gmail.com> Date: Tue, 18 Dec 2012 23:44:27 -0600 From: "Joseph A. Nagy, Jr" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, "amd64 @ FreeBSD" Subject: Re: CPU upgrade vs CPUTYPE References: <20121219071737.15514j97uh585t0k@webmail.raad.tartu.ee> In-Reply-To: <20121219071737.15514j97uh585t0k@webmail.raad.tartu.ee> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 06:39:07 -0000 Cross-posting reply to amd64@ for relevance and to get answers from those smart gents. On 12/18/12 23:17, Toomas Aas wrote: > Hello! > > We have a small server running FreeBSD 8.3 amd64 with Intel Pentium D > 945 CPU. As the motherboard/CPU combo is getting rather old, we are > considering an upgrade to new motherboard with Xeon E3-1230 CPU. We > currently have these CPU settings > > in /etc/make.conf: > CPUTYPE?=nocona > > in kernel configuration: > cpu HAMMER this is the only possible setting in the kernel conf for amd64 as I was told. This was why (and might answer the make.conf question as well: from b.f.: > Leave it alone. The choices for the cpu directive in the kernel > config file, as described in config(5) and listed in > src/sys/conf/options. (the only choice for amd64 is HAMMER), > have nothing to do with the choices available for the CPUTYPE variable > (which you may want to change to suit your hardware -- these are the > architecture-dependent options available for the -march and -mtune > directives of your compiler that are also recognized by bsd.cpu.mk), > or with the cpu descriptions printed during boot. As for the rest of your questions, I leave them in the hands of those more knowledgeable than I. HTH > Almost all the software is built from ports, few bits compiled directly > from source. Base system is maintained by buildworld. > > Can we expect the software compiled with above CPU settings to run > without problems on the Xeon E3? We had a chance recently to try a > temporary motherboard/CPU swap in this server, replacing the CPU with > Core i3-2xxx and there were some 'signal 11' errors, but I'm not sure > whether this was due to incompatible CPUTYPE or something else. > > Thanks in advance, > -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 12:57:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B71DA3D7 for ; Wed, 19 Dec 2012 12:57:53 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from hp9.esiee.fr (hp9.esiee.fr [147.215.1.4]) by mx1.freebsd.org (Postfix) with ESMTP id 6932E8FC15 for ; Wed, 19 Dec 2012 12:57:52 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by hp9.esiee.fr (Postfix) with ESMTP id 3YRGNV0ZBjz3DNRV for ; Wed, 19 Dec 2012 13:57:46 +0100 (CET) X-DKIM: OpenDKIM Filter v2.5.2 hp9.esiee.fr 3YRGNV0ZBjz3DNRV DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=esiee.fr; s=MAILOUT; t=1355921866; bh=aR5rfNEhZ3xrttIjI4plDtxlzDZYNowYzw7LfjGLSrQ=; h=Date:From:To:Subject; b=vpvWUYZKZF6MaPkBXvqM5cAnjJMBvULGmKBFGk5NtzHiENUt7DPRRdzM2bGFn+gG0 l8w3UdpUnayDFu1/1KPX2CTmbkzD9Yku82ZTetKIdPDOPAUBBnpmThu6ZfgEsjjgyI NmELL3D+Kji7EZSbsURhHo6mmpKO8clP/AXy+JbE= Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 3YRGNT6y5RzYml2 for ; Wed, 19 Dec 2012 13:57:45 +0100 (CET) Received: from smtps.esiee.fr (smtps.esiee.fr [147.215.1.29]) by mail.esiee.fr (Postfix) with ESMTP id 3YRGNT6WRbzYmlb for ; Wed, 19 Dec 2012 13:57:45 +0100 (CET) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bonnetf) by smtps.esiee.fr (Postfix) with ESMTPSA id 3YRGNT6Fvfz1btg8 for ; Wed, 19 Dec 2012 13:57:45 +0100 (CET) Message-ID: <50D1B9C9.4080001@esiee.fr> Date: Wed, 19 Dec 2012 13:57:45 +0100 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: reboot after removing ipv6 ? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 12:57:53 -0000 Hello Do I have to reboot a server after unvalidating IPv6 in /etc/rc.conf ? I seems to use "/etc/rc.d/netif restart" is not suffisant Thank you From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 13:01:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CDBE54A2 for ; Wed, 19 Dec 2012 13:01:41 +0000 (UTC) (envelope-from cjr@cruwe.de) Received: from wp376.webpack.hosteurope.de (wp376.webpack.hosteurope.de [IPv6:2a01:488:42::50ed:8591]) by mx1.freebsd.org (Postfix) with ESMTP id 602038FC14 for ; Wed, 19 Dec 2012 13:01:41 +0000 (UTC) Received: from p5b37a6fb.dip.t-dialin.net ([91.55.166.251] helo=dijkstra); authenticated by wp376.webpack.hosteurope.de running ExIM with esmtpsa (SSL3.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1TlJHH-0001UU-O1; Wed, 19 Dec 2012 14:01:39 +0100 Date: Wed, 19 Dec 2012 14:01:37 +0100 From: "Christopher J. Ruwe" To: freebsd-questions@freebsd.org Subject: Re: Curious question about using zfs send -R and receive on FreeBSD Message-ID: <20121219140137.4673f395@dijkstra> In-Reply-To: <2930c477429212255788f1a2c90aa202@dweimer.net> References: <2930c477429212255788f1a2c90aa202@dweimer.net> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;cjr@cruwe.de;1355922101;b9649c2f; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 13:01:41 -0000 On Mon, 17 Dec 2012 16:00:06 -0600 dweimer wrote: > I recently migrated a machine that was built on a VM to physical > hardware using the zfs send -R option against a snapshot of its root > zfs setup. I went from smaller drives to larger, both using a > mirrored zpool. However the devices were different, the device IDs > on the VM were da0 and da1, the device IDs on the physical hardware > were ada0 and ada1. I had used labels when creating the gpt layout > to plan for this. And all worked great, in fact it was the fastest I > have ever converted a virtual machine to a physical machine. > After I finished though, I got curious, was it actually necessary > for me to mount the new boot zfs partition while running on the live > cd and copy the zpool.cache file I had created when creating the > zpool or would have the existing cache file that would have been > included in the zfs send contained the right information? As the > zpool was pointed at the gpt label devices, or was the fact that the > size changed enough difference that copying the file was indeed > necessary? > I fear you might be mixing things up here. You did a zfs-migrate, not a zpool-migrate, you created a new zpool and received the datasets on that new zpool, even if the zpool names were the same. The function of zpool.cache is to tell the OS about available device-zpool combinations. Without, the OS does not know which zpools are available and accordingly cannot mount the root-ZFS passed in the vfs.root.mountfrom directive in loader.conf, which is why you needed to copy the zpool.cache and, if you changed the zpool-names, needed to adapt loader.conf. There are plans to change this behaviour, as it is deemed superfluous at least in the case of disks, but I do not know how much that has progressed so far. http://lists.freebsd.org/pipermail/freebsd-fs/2012-October/015328.html Hope I could shed some light on that issue, although I am by no means an expert on this. Cheers, -- Christopher TZ: GMT + 2h GnuPG/GPG: 0xE8DE2C14 Punctuation matters: "Let's eat Grandma" or "Let's eat, Grandma" - Punctuation saves lives. "A panda eats shoots and leaves" or "A panda eats, shoots, and leaves" - Punctuation teaches proper biology. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 13:34:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 419DD421 for ; Wed, 19 Dec 2012 13:34:39 +0000 (UTC) (envelope-from jack.mclauren@yahoo.com) Received: from nm22-vm0.bullet.mail.bf1.yahoo.com (nm22-vm0.bullet.mail.bf1.yahoo.com [98.139.212.126]) by mx1.freebsd.org (Postfix) with ESMTP id A2AFB8FC12 for ; Wed, 19 Dec 2012 13:34:38 +0000 (UTC) Received: from [98.139.212.153] by nm22.bullet.mail.bf1.yahoo.com with NNFMP; 19 Dec 2012 13:34:37 -0000 Received: from [98.139.215.249] by tm10.bullet.mail.bf1.yahoo.com with NNFMP; 19 Dec 2012 13:34:37 -0000 Received: from [127.0.0.1] by omp1062.mail.bf1.yahoo.com with NNFMP; 19 Dec 2012 13:34:37 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 925886.12131.bm@omp1062.mail.bf1.yahoo.com Received: (qmail 9984 invoked by uid 60001); 19 Dec 2012 13:34:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1355924077; bh=hr20sSsPtTE02ZwKLePqs065xAtTk+JPRFY88FKC5/A=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=X/H/Vj+UaS1CO9OSCqJ6AWt3vPpCylSI27MuAA8rYgB+kIQhk3qEoA3PBAJQgzXpVE38MJmaNu4KeU33Ymu+mGwF5R1C+mH/g2cdwY7zYfGdMpbX/BiCrXNW7thiuKCNet4OD1QKGhykfAUMl0ym08slEU8LCcwWxDfCDIkrDS8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=T4A3isoc7lrT5MOjN3JjNZm51Y+Py6IdU7pX8UR7JaiOq1rT8hwtZGxurSnLXDSMCsghoOLGJ9ZbPcfOIpyELTmxWnHmvajUVTZTzPTtlwAXtdJeaymQ9NBgsFAiVlWfBTV9wb5Ol8m+q8p6C5HWBynwOs75mkaS5cnaG/hcLhY=; X-YMail-OSG: 2bf8dckVM1nw4CU7vl11ct2O3ee2ko6Cr9h814OTbcWK4w8 NVDCxUJfbO6KNAQxu1DEe7FTdTXD8nvvzHiQ4_tj29TB35gdEBf0IF3HoTnY sPjz_d33IwBqOpBEj3ZCx6T.m7Qk3ZaA77f2Z3sXe0jy3GZxmE4EfuoaWDwO SCpObSSwwyRQNIpB.5yzo.HlEOYaJaS9yRmb4g2zn2dWlSlxi0JVlKkFqQGF pjnRiRi0TPlgCYivDSbUwfXTsHDiv0YHwvk19d1472Lz6HJmGYtr.O9Uh3n1 y48z0x7deepqrnP3FqFlAyCv6f_s5Q.PeA74cF0bot1sHIN6eAC_wZQ5hIn8 GNsvsITbGSwAyHdgWYd6BVBxUJkKg2AUjLLjZbpDlK9gGOmIKZ9ClzBLC0DJ maRDPyVQ3GhFZlh3k_TMWJAwYXkLyUyFPpvwt3zJ2AnvxvZEgpdtICbOQILU - Received: from [89.165.120.140] by web160101.mail.bf1.yahoo.com via HTTP; Wed, 19 Dec 2012 05:34:37 PST X-Rocket-MIMEInfo: 001.001, SGkgZ3V5cw0KV2hlbiBJIGF0dGVtcHQgdG8gaW5zdGFsbCBjaHJvbWl1bSBwb3J0IEkgZmFjZSB0aGlzIGVycm9yIDoNCj09PT4gwqBjaHJvbWl1bS02LjAuNDcyLjYzIGlzIGZvcmJpZGRlbjogc2V2ZXJhbCBzZWN1cml0eSB2dWxuZXJhYmlsaXRpZXMuKioqIEVycm9yIGNvZGUgMQ0KV2hhdCBzaG91bGQgSSBkbyB3aXRoIHRoaXMgPz8NClRoYW5rcyBpbiBhZHZhbmNlATABAQEB X-Mailer: YahooMailClassic/15.1.1 YahooMailWebService/0.8.129.483 Message-ID: <1355924077.96562.YahooMailClassic@web160101.mail.bf1.yahoo.com> Date: Wed, 19 Dec 2012 05:34:37 -0800 (PST) From: Jack Mc Lauren Subject: Installing chromium port To: FreeBSD Global Users Mailing List 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.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 13:34:39 -0000 Hi guys When I attempt to install chromium port I face this error : =3D=3D=3D> =A0chromium-6.0.472.63 is forbidden: several security vulnerabil= ities.*** Error code 1 What should I do with this ?? Thanks in advance From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 14:20:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69F043CC for ; Wed, 19 Dec 2012 14:20:24 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by mx1.freebsd.org (Postfix) with ESMTP id D1D2F8FC14 for ; Wed, 19 Dec 2012 14:20:23 +0000 (UTC) Received: by mail-lb0-f169.google.com with SMTP id gk1so1936443lbb.14 for ; Wed, 19 Dec 2012 06:20:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Sx/IDEHuOG2Ii7UorfZoZq6w8j3kIMZXNOvkynhv6ks=; b=fIHT9KG8bKo+lcYNUSScyPn5rcoHzq1D7UEBAhhZFTTIgpiIw0HCVUaFPGQzWRM2pq dhOOPzbZb4srfClS9tNZxcOT/wXZEvtJKcY6sb/Sj0XrHgcGIcCYo24fvHb30LH1IdJA O9YwbKLdc1ACURK2ZrWfnhzW87LuE4FMtEPxCsHoFKVwHEn7N6W7slNA86w89On2TOaE bw5nDF1LFs6uZaaCTWyVZpal+Pjgfnr5MrPSIOobWSfLR+NXksIxpjCZxnOguXubg4as OgnfRr/Q5K6QDOAYg++yoo1qvdCGuywW3v05NRz3Sv5t9CikP4NKIPVADe0lAcukGkHB xU5A== X-Received: by 10.152.109.139 with SMTP id hs11mr5552910lab.13.1355926822400; Wed, 19 Dec 2012 06:20:22 -0800 (PST) Received: from [192.168.1.130] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPS id b3sm2245294lbl.0.2012.12.19.06.20.19 (version=SSLv3 cipher=OTHER); Wed, 19 Dec 2012 06:20:20 -0800 (PST) Message-ID: <50D1CD1B.70208@gmail.com> Date: Wed, 19 Dec 2012 16:20:11 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20100101 Firefox/17.0 SeaMonkey/2.14.1 MIME-Version: 1.0 To: Jack Mc Lauren Subject: Re: Installing chromium port References: <1355924077.96562.YahooMailClassic@web160101.mail.bf1.yahoo.com> In-Reply-To: <1355924077.96562.YahooMailClassic@web160101.mail.bf1.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Global Users Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 14:20:24 -0000 19.12.2012 15:34, Jack Mc Lauren: > Hi guys > When I attempt to install chromium port I face this error : > ===> chromium-6.0.472.63 is forbidden: several security vulnerabilities.*** Error code 1 > What should I do with this ?? > Thanks in advance 6.0.472.63 is very old. Try updating your ports first. -- Sphinx of black quartz, judge my vow. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 14:22:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6323B52D for ; Wed, 19 Dec 2012 14:22:26 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 15C7E8FC0C for ; Wed, 19 Dec 2012 14:22:25 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id qBJEMFUv085462 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Dec 2012 08:22:15 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 19 Dec 2012 08:22:15 -0600 From: dweimer To: "Christopher J. Ruwe" Subject: Re: Curious question about using zfs send -R and receive on FreeBSD Organization: dweimer.net Mail-Reply-To: In-Reply-To: <20121219140137.4673f395@dijkstra> References: <2930c477429212255788f1a2c90aa202@dweimer.net> <20121219140137.4673f395@dijkstra> Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 14:22:26 -0000 On 2012-12-19 07:01, Christopher J. Ruwe wrote: > On Mon, 17 Dec 2012 16:00:06 -0600 > dweimer wrote: > >> I recently migrated a machine that was built on a VM to physical >> hardware using the zfs send -R option against a snapshot of its root >> zfs setup. I went from smaller drives to larger, both using a >> mirrored zpool. However the devices were different, the device IDs >> on the VM were da0 and da1, the device IDs on the physical hardware >> were ada0 and ada1. I had used labels when creating the gpt layout >> to plan for this. And all worked great, in fact it was the fastest I >> have ever converted a virtual machine to a physical machine. >> After I finished though, I got curious, was it actually necessary >> for me to mount the new boot zfs partition while running on the live >> cd and copy the zpool.cache file I had created when creating the >> zpool or would have the existing cache file that would have been >> included in the zfs send contained the right information? As the >> zpool was pointed at the gpt label devices, or was the fact that the >> size changed enough difference that copying the file was indeed >> necessary? >> > > I fear you might be mixing things up here. You did a zfs-migrate, not > a > zpool-migrate, you created a new zpool and received the datasets on > that > new zpool, even if the zpool names were the same. > > The function of zpool.cache is to tell the OS about available > device-zpool combinations. Without, the OS does not know which zpools > are available and accordingly cannot mount the root-ZFS passed in the > vfs.root.mountfrom directive in loader.conf, which is why you needed > to > copy the zpool.cache and, if you changed the zpool-names, needed to > adapt loader.conf. > > There are plans to change this behaviour, as it is deemed superfluous > at > least in the case of disks, but I do not know how much that has > progressed so far. > > > http://lists.freebsd.org/pipermail/freebsd-fs/2012-October/015328.html > > > Hope I could shed some light on that issue, although I am by no means > an > expert on this. > > Cheers, Yes that did explain it, and I did keep the zpool the same name to avoid having to change the loader.conf. This also does answer other things as well for me. In that this should be able to be done from a mirror to a zraid, or single disk pool. But as you have pointed out the migration is done on the ZFS data layer that is on top of the zpool layer, so it shouldn't matter what the underlying zpool raid level is. And likewise wouldn't matter if the hardware devices behind it changed even if I hadn't used gpt labels to configure the zpool. Good information to know going forward, thanks for the explanation. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 14:57:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A1C13E42 for ; Wed, 19 Dec 2012 14:57:54 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 50F248FC0A for ; Wed, 19 Dec 2012 14:57:53 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TlL5q-0003hU-2q for freebsd-questions@freebsd.org; Wed, 19 Dec 2012 15:57:58 +0100 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Dec 2012 15:57:58 +0100 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Dec 2012 15:57:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: Re: reboot after removing ipv6 ? Date: Wed, 19 Dec 2012 14:57:33 +0000 (UTC) Lines: 14 Message-ID: References: <50D1B9C9.4080001@esiee.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; Linux i686; rv:10.0.11) Gecko/20121121 Firefox/10.0.11) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 14:57:54 -0000 Frank Bonnet esiee.fr> writes: > > Hello > > Do I have to reboot a server after unvalidating IPv6 in /etc/rc.conf ? > > I seems to use "/etc/rc.d/netif restart" is not suffisant Use 'netstat' to see what service(s) listen for ipv6 traffic and restart them. jb From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 14:59:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B372EF5 for ; Wed, 19 Dec 2012 14:59:09 +0000 (UTC) (envelope-from thuban@singularity.fr) Received: from mx-pri.toile-libre.org (cagole-new.toile-libre.org [212.85.158.17]) by mx1.freebsd.org (Postfix) with ESMTP id 45AA28FC0C for ; Wed, 19 Dec 2012 14:59:08 +0000 (UTC) Received: from epicedarrakis.no-ip.org ([109.190.28.84] helo=localhost) by mx-pri.toile-libre.org with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1TlL6x-000Jrh-DG for freebsd-questions@freebsd.org; Wed, 19 Dec 2012 15:59:07 +0100 Date: Wed, 19 Dec 2012 15:59:05 +0100 From: Thuban To: freebsd-questions@freebsd.org Subject: wifi support? Message-ID: <20121219145905.GE16826@Lothlorien> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-ToileLibre-AuthenticatedID: for mx-pri.toile-libre.org this mail came from thuban@singularity.fr X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 14:59:09 -0000 Hello, I would like to try freebsd, but I need to know if my wifi card will be usable. A lspci under debian returns : 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01) Can you tell me where I can find if this card is supported or not? Thank you. -- ,--. Xavier Cartron : /` ) M2 MEFPC | `-' Debian user \_ jabber : thuban@jabber.fr From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 15:29:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B88A1C09 for ; Wed, 19 Dec 2012 15:29:22 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id 86D0E8FC16 for ; Wed, 19 Dec 2012 15:29:22 +0000 (UTC) Received: from 24-181-237-39.dhcp.oxfr.ma.charter.com ([24.181.237.39] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1TlLa4-000DyJ-My; Wed, 19 Dec 2012 10:29:15 -0500 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by Gregory-Larkins-iMac.local (Postfix) with ESMTPS id A013118737C1; Wed, 19 Dec 2012 10:29:11 -0500 (EST) Message-ID: <50D1DD46.9020200@FreeBSD.org> Date: Wed, 19 Dec 2012 10:29:10 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Thuban References: <20121219145905.GE16826@Lothlorien> In-Reply-To: <20121219145905.GE16826@Lothlorien> X-Enigmail-Version: 1.4.6 X-SA-Exim-Connect-IP: 24.181.237.39 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC, TVD_RCVD_IP, URI_HEX autolearn=no version=3.3.1 Subject: Re: wifi support? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 19 Dec 2012 15:29:22 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/19/12 9:59 AM, Thuban wrote: > Hello, I would like to try freebsd, but I need to know if my wifi > card will be usable. A lspci under debian returns : 02:00.0 Network > controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n > WiFi Adapter (rev 01) > > Can you tell me where I can find if this card is supported or not? > > Thank you. > Hi there, According to this posting, it doesn't look like that card is supported on FreeBSD yet: http://freebsd.1045724.n5.nabble.com/RTL8188CE-wireless-card-td5628611.html Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDR3UYACgkQ0sRouByUApDHjACgwV3FQZP/FVLvOhjvNvOYU8RV 6ewAoMpMTn3Z76OcmvwY5EkjH3oJMNlG =YeRx -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 16:01:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 044D6FEA for ; Wed, 19 Dec 2012 16:01:56 +0000 (UTC) (envelope-from jnagyjr1978@gmail.com) Received: from mail-yh0-f52.google.com (mail-yh0-f52.google.com [209.85.213.52]) by mx1.freebsd.org (Postfix) with ESMTP id AAFEC8FC15 for ; Wed, 19 Dec 2012 16:01:55 +0000 (UTC) Received: by mail-yh0-f52.google.com with SMTP id o22so508427yho.39 for ; Wed, 19 Dec 2012 08:01:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=qlbhaNFbasKfsPjTSRGtFV37b83bqoVTcdzvXba96O0=; b=Juy4dAY3du1J1KUWdHVtWQRPauUzI1lgqhVW5Oy40fHj7T9AC6zlj5QXSPyhYoZD/S Gwryw0KaYF9dIW1uuYmeSRO3dbNR8s5mrx+t20fzkbL4Q6YJtgCqk3oLBbTYp3GoEeWk QAl8YKtQr5f3k6sl+0sFqgOMPXnhZQKfzSHANHj93rqWm1+Yv1NpknIvhnoBWTO5UjHs 082e6KOHjvdWwvEg4sktV4RjHnR38FwNon0zSJRg7V7Pcrpc4Hw+fcS3mtGKXArKR8VH DTGeDEABpcgjwqQKCY1KRo1S5TSZUpVljdE08OwsfIdyXyRQ+soSt0zR8B6FQbHDShr6 nh7g== X-Received: by 10.236.144.137 with SMTP id n9mr5736656yhj.107.1355929259017; Wed, 19 Dec 2012 07:00:59 -0800 (PST) Received: from [192.168.1.33] (vid-196.dhcp.grp10.tnmmrl.infoave.net. [204.116.254.196]) by mx.google.com with ESMTPS id q4sm4388096anp.18.2012.12.19.07.00.57 (version=SSLv3 cipher=OTHER); Wed, 19 Dec 2012 07:00:58 -0800 (PST) Message-ID: <50D1D6A7.3070303@gmail.com> Date: Wed, 19 Dec 2012 09:00:55 -0600 From: "Joseph A. Nagy, Jr" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: wifi support? References: <20121219145905.GE16826@Lothlorien> In-Reply-To: <20121219145905.GE16826@Lothlorien> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 16:01:56 -0000 On 12/19/12 08:59, Thuban wrote: > Hello, > I would like to try freebsd, but I need to know if my wifi card will be > usable. > A lspci under debian returns : > 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE > 802.11b/g/n WiFi Adapter (rev 01) > > Can you tell me where I can find if this card is supported or not? > > Thank you. > RealTek wifi support is nil in 9.x (I have a RealTek wireless and wired in my laptop and only the wired works). You'll have to use ndistulator to get RealTek wifi under FreeBSD (its how its done in Linux afaik). -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 16:04:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 98D942D1 for ; Wed, 19 Dec 2012 16:04:25 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm25-vm1.bullet.mail.ird.yahoo.com (nm25-vm1.bullet.mail.ird.yahoo.com [212.82.109.202]) by mx1.freebsd.org (Postfix) with ESMTP id C8F168FC12 for ; Wed, 19 Dec 2012 16:04:24 +0000 (UTC) Received: from [77.238.189.233] by nm25.bullet.mail.ird.yahoo.com with NNFMP; 19 Dec 2012 16:04:23 -0000 Received: from [217.146.188.173] by tm14.bullet.mail.ird.yahoo.com with NNFMP; 19 Dec 2012 16:04:23 -0000 Received: from [127.0.0.1] by smtp141.mail.ird.yahoo.com with NNFMP; 19 Dec 2012 16:04:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1355933063; bh=wY4qmPGAP81fa3aif76V8l1yaqQdBy+IO269B4qHYyU=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=vqMfS6NTmsUaQGR8iOi0XypOon9E7N6uktDTQBT+oyifqVeClZ8rLgUlWT3coEF7Uoj3qgtMOscDRTM77KmUE1xan1N2wDmkAQNHKDiQ1VPzKyLdkVXFmiSU1Imzimgx4F1NWLjkLkGZT6OtfgZvTnHOJ52b8wqhO+suXz8Oo4g= X-Yahoo-Newman-Id: 566624.2887.bm@smtp141.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Xv1BHa8VM1kWGJ8sJiOqh.tdnSCWXOrKN8fEdzoQlBIrCrc lgCNP34obPGpgV2gOW2A5El5_CMnq5hoXe88d9CNwu8ewA8FsihgSBRvI6Xw M3NJ9nM9ks9fH8uhYCpo_EUP.Phmz_j7PEHA42Me9dn.TiC2B6KtyA.NECkq XTww3Gshrkwye81C6xFXMd9744eQEdwM9P9J66CEE._64q5yyZXNxfPHibr8 SYyzERSw3eGjSXxPeGA47LOfLgbTpmY6LooajCkTlUxhXLaqGDhsqOscMBVQ qRjGnDixJXg0kA.erKCJzj9YOFfBxlVBKRxSR8BbPKTjZ07wrowXWYVS46UP 7jwkcfa8p4ICln00fS_7CXed.2CjCFZqR9oxx8hxMNZBLdFtiiIpq4WBMtN4 B9JUJ_BZerQEwLcld5VOhEpUqcU1XmrFbSpyTEJgOwkvcmd_w35WC59Y98od _1xKIRfV7gEjxyaYekqnWXt4zOzpnHEXNk8mblNu97e7o3ws1mGjAfuQHMa2 2zQcKUjSjjXI_EkCwDGOd_juLMQFxCfw_FZhre6MQTy9qgA-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.25.217] (ralf.mardorf@85.182.25.217 with login) by smtp141.mail.ird.yahoo.com with SMTP; 19 Dec 2012 08:04:23 -0800 PST Message-ID: <1355933062.2501.19.camel@q> Subject: Re: Upgrading FreeBSD 8.3 amd64 From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Wed, 19 Dec 2012 17:04:22 +0100 In-Reply-To: <20121218185757.f10640e0.freebsd@edvax.de> References: <1355852561.2501.10.camel@q> <20121218185757.f10640e0.freebsd@edvax.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 16:04:25 -0000 Hi :) this isn't a request, just a note about the handbook, from the point of view a newbie has got. > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html "We also assume that you have already obtained the sources to a newer system. If the sources available on the particular system are old too, see Section 25.6 for detailed help about synchronizing them to a newer version." I know svn from Linux, but I don't know what I should update using svn ;). Yes, the ports, but to get knowledge were the ports are, I have to google ;). This howto is more confusing for a newbie and seems to need more reboots, so I started with > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html but it's not described how to do the following: "Note that setting the BATCH environment variable to yes will answer yes to any prompts during this process, removing the need for manual intervention during the build process." regarding to google it's "env BATCH=yes", I'll test it next time I'll reboot into FreeBSD. Another issue is, that the portupgrade command isn't found. However, pppoe does work, but using vi never is fun for me :). I guess I'll read how to install software, IOW how to install portupgrade and continue with the portupgrade method ASAP, later today, or tomorrow. Regards, Ralf From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 16:14:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 79A2C758 for ; Wed, 19 Dec 2012 16:14:21 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ie0-f173.google.com (mail-ie0-f173.google.com [209.85.223.173]) by mx1.freebsd.org (Postfix) with ESMTP id 3B0968FC0A for ; Wed, 19 Dec 2012 16:14:20 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id e13so3057479iej.32 for ; Wed, 19 Dec 2012 08:14:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mOX6oJTSt5DJYznM1jIQBDsx8ogCoenv0Nn+TqwYcQI=; b=gjvVo7uF3Tp6CItRbO29/zmUkaOMLd3w3mFEg/ejHacFzNuNBHAeereDjXRueTvkBg FagKar+xI3b2KUVU2WaoyUl3lLtwPjVnujiqNVbye0Jq6GnQegATKWqItvQWXF7afwgD iKMqqDU1nrXCbjb8KCBHwcwV3c+CLSj4c5DneZ3UIHB4D3AUMwvyBd2ON2InK6DBfQEH qCa6TKPs58PJwAHDHv2gL0qwInptF0MlURKutZAqqkkfFVCqalO7N6U9wtwKTNi6lqLg 9UsviyTTt6swMlPwltnCFCQEsxeEn8NQZH6Caa5efuNm/R3LGrQNP3nO9nblNamvuKwj 01XQ== MIME-Version: 1.0 Received: by 10.42.63.145 with SMTP id c17mr6464685ici.22.1355933653893; Wed, 19 Dec 2012 08:14:13 -0800 (PST) Received: by 10.50.13.204 with HTTP; Wed, 19 Dec 2012 08:14:13 -0800 (PST) In-Reply-To: <1355933062.2501.19.camel@q> References: <1355852561.2501.10.camel@q> <20121218185757.f10640e0.freebsd@edvax.de> <1355933062.2501.19.camel@q> Date: Wed, 19 Dec 2012 10:14:13 -0600 Message-ID: Subject: Re: Upgrading FreeBSD 8.3 amd64 From: Antonio Olivares To: Ralf Mardorf Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 16:14:21 -0000 Ralf, On Wed, Dec 19, 2012 at 10:04 AM, Ralf Mardorf wrote: > Hi :) > > this isn't a request, just a note about the handbook, from the point of > view a newbie has got. > >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html > > "We also assume that you have already obtained the sources to a newer > system. If the sources available on the particular system are old too, > see Section 25.6 for detailed help about synchronizing them to a newer > version." > > I know svn from Linux, but I don't know what I should update using > svn ;). Yes, the ports, but to get knowledge were the ports are, I have > to google ;). This howto is more confusing for a newbie and seems to > need more reboots, so I started with > >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > > but it's not described how to do the following: > "Note that setting the BATCH environment variable to yes will answer yes > to any prompts during this process, removing the need for manual > intervention during the build process." > > regarding to google it's "env BATCH=yes", I'll test it next time I'll > reboot into FreeBSD. > > Another issue is, that the portupgrade command isn't found. Check in /usr/ports/ports-mgmt/ directory: Become super user, $ su - passwd: then as super user: # cd /usr/ports/ports-mgmt/portupgrade then from that directory # make install clean and you should have the portugrade command :) You may also use at your discretion the portmaster tool? It works very well and a nice example is given by W. Block: http://www.wonkity.com/~wblock/docs/html/portupgrade.html Best Regards, Antonio > > However, pppoe does work, but using vi never is fun for me :). > > I guess I'll read how to install software, IOW how to install > portupgrade and continue with the portupgrade method ASAP, later today, > or tomorrow. > > Regards, > Ralf > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 17:11:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 37C743BA for ; Wed, 19 Dec 2012 17:11:40 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm23-vm1.bullet.mail.ukl.yahoo.com (nm23-vm1.bullet.mail.ukl.yahoo.com [217.146.177.100]) by mx1.freebsd.org (Postfix) with ESMTP id 7C5358FC0C for ; Wed, 19 Dec 2012 17:11:39 +0000 (UTC) Received: from [217.12.10.82] by nm23.bullet.mail.ukl.yahoo.com with NNFMP; 19 Dec 2012 17:09:16 -0000 Received: from [77.238.184.77] by tm16.bullet.mail.ukl.yahoo.com with NNFMP; 19 Dec 2012 17:09:16 -0000 Received: from [127.0.0.1] by smtp146.mail.ukl.yahoo.com with NNFMP; 19 Dec 2012 17:09:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1355936956; bh=PtG4wv/CgA1l0IPaI9QkMNooWNUltgq7eoyNlGMoer4=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=V7yu0lKDT1VgPEnvVsJ2NzWtX13MkwAsECAUkUUzFPvYqAcXH9j2N7dGvZBP1+lcbH0arIVx5vj+aJKTcCd+wdozV33Ar9p7mtmcldiiLPJK2iwIOUco7AqlylvgPraYtCLxWQrByQiDd1S6U+XAAIEEwjcLShzZl3v/7G2NpQo= X-Yahoo-Newman-Id: 829202.97330.bm@smtp146.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: axuUo4MVM1n15Hu2dZ6S3HsN0y9xg17SerXaM_XFhBMcryh GXUZf7A.mloKMwAqeGQXMrdqtqE2J5WY8g1wrBbc1Iy.L7A0u6YWz8pnjzc1 XzizHx04rRtg5_uuactkIL3O.4HPwDaXcoL0hsV5e2d5FBnhvlKZFKAdoBov POiHPTHs7l4H.6V2RbcDGgpSBnlt_tZrDLMpHdS3cU.6eMAVvEz7YPIifb1O EdUhCZlTeTLeC8CazELbKsGWzGCFWuB2mMjPoYlNrz6sIS2XvnKUjf8czMPv 8OzTRRyyMvGO3tGaulz0FM212Shb0nyNgubsho3SZvUPuuR5a00u_9oMTOiQ hun6ZempGB38vUzE7gDnEqzDg5B7D4AC2xdtLk9oUqYnSjT5xxd3ufj.NtWB rIh19eX1ba05xLd6E8Z0ybNFrUjCSr9KTz_ZAfqm3juCA7Q.FyqJZVZ_ph5N DYDOPbJA8_Bcglnkrs_H0p5itR9ZpEB0JR6XwTmq4YzlemIgszP1VbEVpru3 w5TU8XUmT2c.mYPXI7ycz3UHplQ-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.25.217] (ralf.mardorf@85.182.25.217 with login) by smtp146.mail.ukl.yahoo.com with SMTP; 19 Dec 2012 17:09:16 +0000 GMT Message-ID: <1355936956.2501.72.camel@q> Subject: Re: Upgrading FreeBSD 8.3 amd64 From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Wed, 19 Dec 2012 18:09:16 +0100 In-Reply-To: References: <1355852561.2501.10.camel@q> <20121218185757.f10640e0.freebsd@edvax.de> <1355933062.2501.19.camel@q> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 17:11:40 -0000 On Wed, 2012-12-19 at 10:14 -0600, Antonio Olivares wrote: > You may also use at your discretion the portmaster tool? It works > very well and a nice example is given by W. Block: > > http://www.wonkity.com/~wblock/docs/html/portupgrade.html Thank you Antonio :) because I can't install FreeBSD by the 9.0 DVD, for what reason ever this doesn't work, I installed it by the 8.3 DVD and will now make a release upgrade. IIUC a release upgrade will rebuild everything, hence there should be no dependency issues. My FreeBSD 8.3 is a fresh install, I only set up PPPoE, anything else is default. IIUC I need to take care about it to keep dependencies up to date, when I don't upgrade the complete release, but just upgrade some software. So, can I upgrade from 8.3 to 9.0, without taking care about dependencies and take care about the link, when 9.0 is installed, instead of doing it right now? My apologize for the terrible English, I'm in a hurry, but wanted to rely immediately and this makes broken English not better ;). Regards, Ralf From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 18:16:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9025615 for ; Wed, 19 Dec 2012 18:16:41 +0000 (UTC) (envelope-from egoitz@ramattack.net) Received: from proxypop03b.sare.net (proxypop03b.sare.net [194.30.0.251]) by mx1.freebsd.org (Postfix) with ESMTP id 835468FC0A for ; Wed, 19 Dec 2012 18:16:41 +0000 (UTC) Received: from [172.16.2.46] (izaro.sarenet.es [192.148.167.11]) by proxypop03.sare.net (Postfix) with ESMTPSA id 2FD3D9E05B9 for ; Wed, 19 Dec 2012 19:06:31 +0100 (CET) From: Egoitz Aurrekoetxea Aurre Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: about unattended installation Message-Id: <40FD5C3B-CF8B-4376-BA6B-9F90747CFFAF@ramattack.net> Date: Wed, 19 Dec 2012 19:06:41 +0100 To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 18:16:41 -0000 Good afternoon, One little question=85 I'm trying to have ready our new unattended = FreeBSD installation system. Until now, I have been using Sysinstall = scripting file but now with 9.1 out I think it's moment to start using = BSDInstaller in the unattended installation process. I have seen the new = installer, works basically like an script=85. my real question is=85 = before I did in install.cfg something like :=20 ################################ disk=3Dda0 partition=3Dall bootManager=3Dstandard diskPartitionEditor ################################ da0s1-1=3Dufs 3072000 / da0s1-2=3Dswap 8096000 none da0s1-3=3Dufs 20485760 /var 1 da0s1-4=3Dufs 30720760 /usr 1 da0s1-5=3Dufs 0 /expert 1 diskLabelEditor ################################ Now I assume there's no way of getting this same through any command = like=85 'bsdinstall partedit _______________________' am I wrong??. So I = assume all should be done by hand like this example of the Handbook :=20 # dd if=3D/dev/zero of=3D/dev/da1 bs=3D1k count=3D1 # fdisk -BI da1 #Initialize your new disk # bsdlabel -B -w da1s1 auto #Label it. # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any = partitions. # mkdir -p /1 # newfs /dev/da1s1e # Repeat this for every partition you created. # mount /dev/da1s1e /1 # Mount the partition(s) # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. In the auto script=85. am I wrong?. If the answer is yes=85 could you point me to some = documentation in order to be able to complete all this doc. Apart from = all this=85 is Sysinstall going to be maintained in parallel?. Thank you very much, Best regards! From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 18:41:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 32ED6B8C for ; Wed, 19 Dec 2012 18:41:42 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ia0-f169.google.com (mail-ia0-f169.google.com [209.85.210.169]) by mx1.freebsd.org (Postfix) with ESMTP id E85318FC16 for ; Wed, 19 Dec 2012 18:41:41 +0000 (UTC) Received: by mail-ia0-f169.google.com with SMTP id r4so2100985iaj.0 for ; Wed, 19 Dec 2012 10:41:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GTmh5k3KIeYPRTdQ4VUKOK+9QxxwU9/YOVdwBLcXCZ8=; b=nLIVw8DN2bKbXFFDQxwKlIglObdRkFr2vuZ5LlMjbM4ZqnyTQpD+mg6bgiwNX52In0 7iQRepWxyWhQ6VKzAicTJC2LVSZsG245Dtem3wV+3UKh8pPonIW3fr4RZa7LP7qjZbi4 YpcNcU00VVJcxfBcThu/xgKTyp6j67PQSaEQLQNBbdXQziht0jFoiV128v0g+5LSdrF2 G50gLmESLaFBcTKt5GW3wZKsAhHXbMMOGKRrVG7pk9u7ctosbvwGyEBRJusOGvqwJxJT ym91Al2H6rcS6WeiEamiStd6BUyOosm+xjzPDmMpY89n075/OwBirM+Y1i8+01REwV6a 4r7Q== MIME-Version: 1.0 Received: by 10.42.63.145 with SMTP id c17mr6981242ici.22.1355942494784; Wed, 19 Dec 2012 10:41:34 -0800 (PST) Received: by 10.50.13.204 with HTTP; Wed, 19 Dec 2012 10:41:34 -0800 (PST) In-Reply-To: <1355936956.2501.72.camel@q> References: <1355852561.2501.10.camel@q> <20121218185757.f10640e0.freebsd@edvax.de> <1355933062.2501.19.camel@q> <1355936956.2501.72.camel@q> Date: Wed, 19 Dec 2012 12:41:34 -0600 Message-ID: Subject: Re: Upgrading FreeBSD 8.3 amd64 From: Antonio Olivares To: Ralf Mardorf Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 18:41:42 -0000 Ralf, On Wed, Dec 19, 2012 at 11:09 AM, Ralf Mardorf wrote: > On Wed, 2012-12-19 at 10:14 -0600, Antonio Olivares wrote: >> You may also use at your discretion the portmaster tool? It works >> very well and a nice example is given by W. Block: >> >> http://www.wonkity.com/~wblock/docs/html/portupgrade.html > > Thank you Antonio :) > > because I can't install FreeBSD by the 9.0 DVD, for what reason ever > this doesn't work, I installed it by the 8.3 DVD and will now make a > release upgrade. IIUC a release upgrade will rebuild everything, hence > there should be no dependency issues. My FreeBSD 8.3 is a fresh install, > I only set up PPPoE, anything else is default. > IIUC I need to take care about it to keep dependencies up to date, when > I don't upgrade the complete release, but just upgrade some software. > > So, can I upgrade from 8.3 to 9.0, without taking care about > dependencies and take care about the link, when 9.0 is installed, > instead of doing it right now? Yes, you can do it. You can update to 9.0 with freebsd-update tool and then install/reinstall the ports. # freebsd-update -r 9.1-RELEASE or # freebsd-update -r 9.0-RELEASE in case that 9.1 is not there yet*? then run # freebsd-update fetch # freebsd-update install to get security updates as is documented : http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html This should work well to get newer RELEASE, but some ports may be needed to be rebuilt/reinstalled. Hope this helps, Antonio > > My apologize for the terrible English, I'm in a hurry, but wanted to > rely immediately and this makes broken English not better ;). > > Regards, > Ralf > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 18:53:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB1221D1 for ; Wed, 19 Dec 2012 18:53:19 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by mx1.freebsd.org (Postfix) with ESMTP id 8AAAA8FC0C for ; Wed, 19 Dec 2012 18:53:19 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id bi1so1514699pad.36 for ; Wed, 19 Dec 2012 10:53:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=i24rZ4dh6bt7rKoOOpo1qYOU8VjEZgSPMv5IndLOzSc=; b=pLhTFxdEgMWOfy+J31GS+tfgqSJz8aAYjE13ycfib3Hs3eNBWd+fn4HRo38jfbDVpT 7Ka9nt6ovFIDCkK9UibxtTJgzmafxNnQrCGg8FOvGDAnJNXbNKqaakYb5PhkNaKw+dcQ XbvSuD2GPwS8D1/jLnYRidOzKXLm6ejOYv8eHc4qJNolGbHLiJGM/96aLZPYpPUWYyh4 l5zv71q4bDdroYQdoO2Ckb3lyUIogkv8qFKFzbN8hvYwFj95aYDUaY8yfwQVQSNakU2Q yoAR/Vn94RDLXuZKvV3dmcrr/+aIfEem2r/9b+SzS6RcoFPaCLWxn7Peo/zckjqHO9Ap b2FA== Received: by 10.68.232.195 with SMTP id tq3mr21358887pbc.70.1355943192930; Wed, 19 Dec 2012 10:53:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.125.162 with HTTP; Wed, 19 Dec 2012 10:52:52 -0800 (PST) In-Reply-To: <40FD5C3B-CF8B-4376-BA6B-9F90747CFFAF@ramattack.net> References: <40FD5C3B-CF8B-4376-BA6B-9F90747CFFAF@ramattack.net> From: Amitabh Kant Date: Thu, 20 Dec 2012 00:22:52 +0530 Message-ID: Subject: Re: about unattended installation To: Egoitz Aurrekoetxea Aurre Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 18:53:19 -0000 Won't be able to help you much, but bsdinstall seems to be using gpart rather than fdisk. This page has a nice explanation on how to use gpart: http://www.wonkity.com/~wblock/docs/html/disksetup.html As for sysinstall, it's not being mainitned officially, but http://druidbsd.sourceforge.net/ is using sysinstall Amitabh On Wed, Dec 19, 2012 at 11:36 PM, Egoitz Aurrekoetxea Aurre < egoitz@ramattack.net> wrote: > Good afternoon, > > One little question=85 I'm trying to have ready our new unattended FreeBS= D > installation system. Until now, I have been using Sysinstall scripting fi= le > but now with 9.1 out I think it's moment to start using BSDInstaller in t= he > unattended installation process. I have seen the new installer, works > basically like an script=85. my real question is=85 before I did in insta= ll.cfg > something like : > > ################################ > disk=3Dda0 > partition=3Dall > bootManager=3Dstandard > diskPartitionEditor > > ################################ > > da0s1-1=3Dufs 3072000 / > da0s1-2=3Dswap 8096000 none > da0s1-3=3Dufs 20485760 /var 1 > da0s1-4=3Dufs 30720760 /usr 1 > da0s1-5=3Dufs 0 /expert 1 > diskLabelEditor > > ################################ > > Now I assume there's no way of getting this same through any command like= =85 > 'bsdinstall partedit _______________________' am I wrong??. So I assume a= ll > should be done by hand like this example of the Handbook : > > # dd if=3D/dev/zero of=3D/dev/da1 bs=3D1k count=3D1 > # fdisk -BI da1 #Initialize your new disk > # bsdlabel -B -w da1s1 auto #Label it. > # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any > partitions. > # mkdir -p /1 > # newfs /dev/da1s1e # Repeat this for every partition you created. > # mount /dev/da1s1e /1 # Mount the partition(s) > # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. > > In the auto script=85. > > am I wrong?. If the answer is yes=85 could you point me to some > documentation in order to be able to complete all this doc. Apart from al= l > this=85 is Sysinstall going to be maintained in parallel?. > > Thank you very much, > Best regards! > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 18:59:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F89940E for ; Wed, 19 Dec 2012 18:59:51 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id D2E9F8FC12 for ; Wed, 19 Dec 2012 18:59:50 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa04.fnfis.com (8.14.5/8.14.5) with ESMTP id qBJIxnKD000396 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 19 Dec 2012 12:59:49 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.2.309.2; Wed, 19 Dec 2012 12:59:48 -0600 Subject: Re: about unattended installation MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="windows-1252" From: Devin Teske In-Reply-To: <40FD5C3B-CF8B-4376-BA6B-9F90747CFFAF@ramattack.net> Date: Wed, 19 Dec 2012 10:59:47 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: <7FFE45C4-2001-46CF-AAE3-D1DF7B6EC9DE@fisglobal.com> References: <40FD5C3B-CF8B-4376-BA6B-9F90747CFFAF@ramattack.net> To: Egoitz Aurrekoetxea Aurre X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2012-12-19_08:2012-12-19,2012-12-19,1970-01-01 signatures=0 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 18:59:51 -0000 On Dec 19, 2012, at 10:06 AM, Egoitz Aurrekoetxea Aurre wrote: > Good afternoon, >=20 > One little question=85 I'm trying to have ready our new unattended FreeBS= D installation system. Until now, I have been using Sysinstall scripting fi= le but now with 9.1 out I think it's moment to start using BSDInstaller in = the unattended installation process. Hold on a moment. You might want to wait until 9.2. (read more below) > I have seen the new installer, works basically like an script=85. my real= question is=85 before I did in install.cfg something like :=20 >=20 > ################################ > disk=3Dda0 > partition=3Dall > bootManager=3Dstandard > diskPartitionEditor >=20 > ################################ >=20 > da0s1-1=3Dufs 3072000 / > da0s1-2=3Dswap 8096000 none > da0s1-3=3Dufs 20485760 /var 1 > da0s1-4=3Dufs 30720760 /usr 1 > da0s1-5=3Dufs 0 /expert 1 > diskLabelEditor >=20 > ################################ >=20 > Now I assume there's no way of getting this same through any command like= =85 'bsdinstall partedit _______________________' am I wrong??. You're correct. In 9.0 and 9.1, it's just not feasible to man-handle the us= er interface (partedit) as one could sysinstall. (read below about 9.2) > So I assume all should be done by hand like this example of the Handbook = :=20 >=20 > # dd if=3D/dev/zero of=3D/dev/da1 bs=3D1k count=3D1 > # fdisk -BI da1 #Initialize your new disk > # bsdlabel -B -w da1s1 auto #Label it. > # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitio= ns. > # mkdir -p /1 > # newfs /dev/da1s1e # Repeat this for every partition you created. > # mount /dev/da1s1e /1 # Mount the partition(s) > # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. >=20 > In the auto script=85. >=20 > am I wrong?. If the answer is yes=85 could you point me to some document= ation in order to be able to complete all this doc. The answer is (unfortunately) yes=85 that is until (hopefully) 9.2. It's an on-going significant amount of work to make add backward compatibil= ity (so bsdinstall can load sysinstall "install.cfg" files). I'm not going = to discuss the specifics here or yet, but I'm actively working on it. No docs on how to mangle the auto script to do what you want (that I know o= f). > Apart from all this=85 is Sysinstall going to be maintained in parallel?. >=20 Sysinstall is dead. The bsdinstall you know can be considered the "first ge= neration" and accordingly is a bit spartan. I'm working hard on the next ge= neration. My plan is to have 10.0 with bsdinstall able to run sysinstall sc= ripts (for backward compatibility; can't yet say what 9.x release will be M= FC'd to, but that could be 9.2). I'm planning one helluva BSDCan-2013 presentation. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 19:27:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DFCA7AA5; Wed, 19 Dec 2012 19:27:41 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48]) by mx1.freebsd.org (Postfix) with ESMTP id A55A78FC13; Wed, 19 Dec 2012 19:27:41 +0000 (UTC) Received: by mail-pb0-f48.google.com with SMTP id rq13so1437263pbb.21 for ; Wed, 19 Dec 2012 11:27:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6jYOVxGSViAqcab6CIAKs3f3cubCsmVxMDebpmPsbto=; b=V0eme9fjWFGvTMmYM6W0fDyl9bkPjS5PFaaFvA0Rks8WMz1wtfhlYgGDQo5eVs5MUI MvECXvWAG4m5L1kTas3Jpuj5yyqA3AOX8uK27QFvmqoXriTDFjnKihoROFQbAN/wTQB/ sTjzTInrB1sO935b5lnxpR1+w4vgSkz3OxCJWgEK0bYdYUws3PCTXntf4hV9A9d8JwSG oKlAqNsQrMgg4sxMBDfOlRU2M+6IdSjVcR7WfZur9Udo9i1jtoTb1A/2k+ylEsJyvAm1 z0ngQCEarUYdSOhsrWdzR0a4jPfjzm/Ndo/CeuB2zGTC9Tcikpi9eHPXhnO6+JDGU8xf KEiA== Received: by 10.66.90.1 with SMTP id bs1mr20220956pab.19.1355945261077; Wed, 19 Dec 2012 11:27:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.125.162 with HTTP; Wed, 19 Dec 2012 11:27:20 -0800 (PST) In-Reply-To: <7FFE45C4-2001-46CF-AAE3-D1DF7B6EC9DE@fisglobal.com> References: <40FD5C3B-CF8B-4376-BA6B-9F90747CFFAF@ramattack.net> <7FFE45C4-2001-46CF-AAE3-D1DF7B6EC9DE@fisglobal.com> From: Amitabh Kant Date: Thu, 20 Dec 2012 00:57:20 +0530 Message-ID: Subject: Re: about unattended installation To: Devin Teske Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Egoitz Aurrekoetxea Aurre , FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 19:27:41 -0000 On Thu, Dec 20, 2012 at 12:29 AM, Devin Teske wr= ote: > > On Dec 19, 2012, at 10:06 AM, Egoitz Aurrekoetxea Aurre wrote: > > > Good afternoon, > > > > One little question=85 I'm trying to have ready our new unattended Free= BSD > installation system. Until now, I have been using Sysinstall scripting fi= le > but now with 9.1 out I think it's moment to start using BSDInstaller in t= he > unattended installation process. > > Hold on a moment. You might want to wait until 9.2. (read more below) > > > > > I have seen the new installer, works basically like an script=85. my re= al > question is=85 before I did in install.cfg something like : > > > > ################################ > > disk=3Dda0 > > partition=3Dall > > bootManager=3Dstandard > > diskPartitionEditor > > > > ################################ > > > > da0s1-1=3Dufs 3072000 / > > da0s1-2=3Dswap 8096000 none > > da0s1-3=3Dufs 20485760 /var 1 > > da0s1-4=3Dufs 30720760 /usr 1 > > da0s1-5=3Dufs 0 /expert 1 > > diskLabelEditor > > > > ################################ > > > > Now I assume there's no way of getting this same through any command > like=85 'bsdinstall partedit _______________________' am I wrong??. > > You're correct. In 9.0 and 9.1, it's just not feasible to man-handle the > user interface (partedit) as one could sysinstall. (read below about 9.2) > > > > > So I assume all should be done by hand like this example of the Handboo= k > : > > > > # dd if=3D/dev/zero of=3D/dev/da1 bs=3D1k count=3D1 > > # fdisk -BI da1 #Initialize your new disk > > # bsdlabel -B -w da1s1 auto #Label it. > > # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any > partitions. > > # mkdir -p /1 > > # newfs /dev/da1s1e # Repeat this for every partition you created. > > # mount /dev/da1s1e /1 # Mount the partition(s) > > # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. > > > > In the auto script=85. > > > > am I wrong?. If the answer is yes=85 could you point me to some > documentation in order to be able to complete all this doc. > > The answer is (unfortunately) yes=85 that is until (hopefully) 9.2. > > It's an on-going significant amount of work to make add backward > compatibility (so bsdinstall can load sysinstall "install.cfg" files). I'= m > not going to discuss the specifics here or yet, but I'm actively working = on > it. > > No docs on how to mangle the auto script to do what you want (that I know > of). > > > > > Apart from all this=85 is Sysinstall going to be maintained in parallel= ?. > > > > Sysinstall is dead. The bsdinstall you know can be considered the "first > generation" and accordingly is a bit spartan. I'm working hard on the nex= t > generation. My plan is to have 10.0 with bsdinstall able to run sysinstal= l > scripts (for backward compatibility; can't yet say what 9.x release will = be > MFC'd to, but that could be 9.2). > > I'm planning one helluva BSDCan-2013 presentation. > -- > Devin > > Interesting Devin. I have played around with bsdinstall script files and partedit source files to certain extent. Was able to achieve a bit of success. One of the major stumbling blocks for me still is including custom scripts and packages. Just can't seem to understand where and how to place them, so that it is available to auto script for further processing. Amitabh From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 19:42:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 91A40424 for ; Wed, 19 Dec 2012 19:42:45 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 516A88FC13 for ; Wed, 19 Dec 2012 19:42:45 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa06.fnfis.com (8.14.5/8.14.5) with ESMTP id qBJJgiSE024322 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 19 Dec 2012 13:42:44 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.2.309.2; Wed, 19 Dec 2012 13:42:43 -0600 Subject: Re: about unattended installation MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="windows-1252" From: Devin Teske In-Reply-To: Date: Wed, 19 Dec 2012 11:42:42 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: <4861C538-16FF-468A-92DF-111BAE64FD19@fisglobal.com> References: <40FD5C3B-CF8B-4376-BA6B-9F90747CFFAF@ramattack.net> To: Amitabh Kant X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2012-12-19_08:2012-12-19,2012-12-19,1970-01-01 signatures=0 Cc: Egoitz Aurrekoetxea Aurre , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 19:42:45 -0000 On Dec 19, 2012, at 10:52 AM, Amitabh Kant wrote: > Won't be able to help you much, but bsdinstall seems to be using gpart > rather than fdisk. This page has a nice explanation on how to use gpart: >=20 > http://www.wonkity.com/~wblock/docs/html/disksetup.html >=20 > As for sysinstall, it's not being mainitned officially, but > http://druidbsd.sourceforge.net/ is using sysinstall >=20 Cool! I'm the maintainer of FreeBSD Druid (sysinstall-based 9.x installer). When 9.1 is officially announced, I'll start rolling a new 9.1 based instal= ler (right now, still just 8.3 and 9.0 are the latest offerings). I'm also the maintainer of bsdconfig. I'd like to also think I'm that last unofficial maintainer of sysinstall (I= 've actually patched it in stable/9 in the past 90 days). And, as-of the last DevSummit, I've been nominated the new maintainer of bs= dinstall (with nwhitehorn's blessing). So=85 At some point, you'll see me go rabid on all the PR's in the freebsd-sysins= tall pool, but right now I'm still in the coal-mines dredging out the frame= work to accept all these missing features. --=20 Devin > On Wed, Dec 19, 2012 at 11:36 PM, Egoitz Aurrekoetxea Aurre < > egoitz@ramattack.net> wrote: >=20 >> Good afternoon, >>=20 >> One little question=85 I'm trying to have ready our new unattended FreeB= SD >> installation system. Until now, I have been using Sysinstall scripting f= ile >> but now with 9.1 out I think it's moment to start using BSDInstaller in = the >> unattended installation process. I have seen the new installer, works >> basically like an script=85. my real question is=85 before I did in inst= all.cfg >> something like : >>=20 >> ################################ >> disk=3Dda0 >> partition=3Dall >> bootManager=3Dstandard >> diskPartitionEditor >>=20 >> ################################ >>=20 >> da0s1-1=3Dufs 3072000 / >> da0s1-2=3Dswap 8096000 none >> da0s1-3=3Dufs 20485760 /var 1 >> da0s1-4=3Dufs 30720760 /usr 1 >> da0s1-5=3Dufs 0 /expert 1 >> diskLabelEditor >>=20 >> ################################ >>=20 >> Now I assume there's no way of getting this same through any command lik= e=85 >> 'bsdinstall partedit _______________________' am I wrong??. So I assume = all >> should be done by hand like this example of the Handbook : >>=20 >> # dd if=3D/dev/zero of=3D/dev/da1 bs=3D1k count=3D1 >> # fdisk -BI da1 #Initialize your new disk >> # bsdlabel -B -w da1s1 auto #Label it. >> # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any >> partitions. >> # mkdir -p /1 >> # newfs /dev/da1s1e # Repeat this for every partition you created. >> # mount /dev/da1s1e /1 # Mount the partition(s) >> # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. >>=20 >> In the auto script=85. >>=20 >> am I wrong?. If the answer is yes=85 could you point me to some >> documentation in order to be able to complete all this doc. Apart from a= ll >> this=85 is Sysinstall going to be maintained in parallel?. >>=20 >> Thank you very much, >> Best regards! >>=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" >>=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.o= rg" _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 22:13:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD5E6A9E; Wed, 19 Dec 2012 22:13:53 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 81FD98FC12; Wed, 19 Dec 2012 22:13:53 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 6C6621E007A2; Wed, 19 Dec 2012 23:13:52 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id qBJMCKVV076970; Wed, 19 Dec 2012 23:12:20 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id qBJMCK4Y076969; Wed, 19 Dec 2012 23:12:20 +0100 (CET) (envelope-from nox) Date: Wed, 19 Dec 2012 23:12:20 +0100 (CET) From: Juergen Lock Message-Id: <201212192212.qBJMCK4Y076969@triton8.kn-bremen.de> To: bruce@cran.org.uk Subject: Re: Boot of 9.1 under qemu-kvm 1.3 hangs at pci probing X-Newsgroups: gmane.os.freebsd.questions In-Reply-To: <50CE5805.7010101@cran.org.uk> Organization: Cc: freebsd-emulation@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 22:13:53 -0000 In article <50CE5805.7010101@cran.org.uk> you write: >I'm trying to install FreeBSD 9.1 in a Proxmox KVM, using qemu-kvm 1.3, >but the boot process is hanging: > >pbib0: matched entry for 0.1 INTA >pbib0: slot 1 INTA hardwired to IRQ 9 >ioapic0: Changing polarity for pin 9 to low >found -> vendor=0x1013, dev=0x00b8, revid=0x00 > domain=0, bus=0, slot=2, func=0 > class=03-00-00, hdrtype=0x00, mfdev=0 > cmdreg=0x0103, statreg=0x0000, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0ns), maxlat=0x00 (0ns) >[hang] > >Has anyone come across this before and know of any workarounds? Just in case you haven't meanwhile found this yourself (and for the archives), this is caused by an incompatible change in seabios [1] that qemu uses. I hope this will be fixed for qemu 1.3.1, a fixed bios.bin that you can pass to qemu/kvm with -bios has been posted in this thread: https://lists.nongnu.org/archive/html/qemu-devel/2012-12/msg01703.html HTH, :) Juergen [1] http://git.qemu.org/?p=seabios.git;a=commit;h=4540409d19a4baeec5006d925cfca19f8038a96e From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 22:34:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50F175B5; Wed, 19 Dec 2012 22:34:43 +0000 (UTC) (envelope-from prvs=6935c9144=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id 112188FC1C; Wed, 19 Dec 2012 22:34:42 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoQCAMJA0lCBbgoggWdsb2JhbABErQuRCA4BARYmgwQCP4E+iCadTZp+kC9hA4hhjkWIMYoO X-IronPort-AV: E=Sophos;i="4.84,320,1355119200"; d="scan'208";a="112992025" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Dec 2012 16:34:29 -0600 Date: Wed, 19 Dec 2012 16:34:27 -0600 From: Paul Schmehl To: FreeBSD Questions List Subject: Can't get start_precmd to do *anything* Message-ID: <66E78C5BBEC1BC01C9A7E292@localhost> X-Mailer: Mulberry/4.1.0a1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=2203 Cc: FreeBSD RC List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 22:34:43 -0000 I'm working on an rc.d init script for a port, and I am clearly in need of a clue. I have a daemon that requires that a FIFO exist before it will start. The FIFO is defined in the daemon's conf file. I could just point that out to the user using "warn", but I thought it would be nicer to simply take care of it programmatically. So I created this: start_precmd="${name}_ck4fifo()" ${name}_ch4fifo() { . ${pads_agent_conf} echo "Checking to see if ${PADS_FIFO} exists......" if [ ! -p ${PADS_FIFO} ]; then echo "${PADS_FIFO} did not exist. Creating it now....." `/usr/bin/mkfifo ${PADS_FIFO} else echo "${PADS_FIFO} already exists." fi } When I run the init script with rc_debug enabled, it calls the start_precmd, but absolutely nothing happens. I don't even get the echos. # /usr/local/etc/rc.d/pads_agent onestart /usr/local/etc/rc.d/pads_agent: DEBUG: checkyesno: pads_agent_enable is set to YES. /usr/local/etc/rc.d/pads_agent: DEBUG: run_rc_command: start_precmd: pads_agent_ck4fifo() Starting pads_agent. /usr/local/etc/rc.d/pads_agent: DEBUG: run_rc_command: doit: /usr/local/bin/sguil-sensor/pads_agent.tcl -D -c /usr/local/etc/sguil-sensor/pads_agent.conf [root@buttercup4 /usr/ports/security/sguil-sensor-update/sguil-sensor]# Error: Unable to read /var/data/nsm/sguil-sensor/buttercup4.utdallas.edu/pads.fifo I even tried this but got the same result. ${name}_ch4fifo() { warn "You must create PADS_FIFO before starting ${name}." warn "Set PADS_FIFO in the ${pads_agent_conf} file." } The warn messages aren't in the messages file either, which is expected behavior. What the heck is going on here? Is something wrong with rc.subr on this host? Am I missing something? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 22:48:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7EEAB24; Wed, 19 Dec 2012 22:48:03 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4909F8FC0C; Wed, 19 Dec 2012 22:48:02 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id je9so1302117bkc.41 for ; Wed, 19 Dec 2012 14:47:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2R9cYSBSfR6SyhI5wiYYaA68M1jInso686g1Ml/xvp0=; b=Kvnn9J7qZM45GOYw4+lOJIUmQ2PcYkNV6Ci0B81I4dWjaoubzCcrh0MnkxibNTuHsS PySK1svnajqybndvVVNa03xG5gwZs6Iu6myYx8cljQMoVozR1wS67YM04+4L4fk3EsKZ LJ8HqNiHeGE6YuQUpzn0ENXHLlQlun48SMoUvUEEs+XdMYf4/LXytyb6kFv8nMl0ADw1 KkJBpE4PQwqLMwnqejvXA+e3eR6cD4GYcRORH04XrBJ3dNxRpTlXkVjTrTeo8ywEMK4r zk0H+nNB9Ig7eepKA98kltV0t8vE+HAS52SRmn75nKbMGMHQp6kQjF+HPEtY2xCegR+O Ydng== MIME-Version: 1.0 Received: by 10.204.4.131 with SMTP id 3mr3421921bkr.25.1355957276223; Wed, 19 Dec 2012 14:47:56 -0800 (PST) Received: by 10.204.167.71 with HTTP; Wed, 19 Dec 2012 14:47:56 -0800 (PST) In-Reply-To: <66E78C5BBEC1BC01C9A7E292@localhost> References: <66E78C5BBEC1BC01C9A7E292@localhost> Date: Wed, 19 Dec 2012 22:47:56 +0000 Message-ID: Subject: Re: Can't get start_precmd to do *anything* From: Chris Rees To: Paul Schmehl Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD RC List , FreeBSD Questions List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 22:48:04 -0000 On 19/12/2012, Paul Schmehl wrote: > I'm working on an rc.d init script for a port, and I am clearly in need of > a clue. > > I have a daemon that requires that a FIFO exist before it will start. The > FIFO is defined in the daemon's conf file. I could just point that out to > the user using "warn", but I thought it would be nicer to simply take care > of it programmatically. > > So I created this: > > start_precmd="${name}_ck4fifo()" Is this a copy/paste error, or is your function actually called _ck4fifo or _ch4fifo? > ${name}_ch4fifo() I'm surprised sh isn't choking on this, you can't use ${name} in a function name. Indirecting it is a waste of processing time, if I'm honest; just use start_precmd=pads_agent_prestart pads_agent_prestart() { do_something } We always have search and replace in case you choose to modify $name :) Chris > { > . ${pads_agent_conf} > echo "Checking to see if ${PADS_FIFO} exists......" > if [ ! -p ${PADS_FIFO} ]; then > echo "${PADS_FIFO} did not exist. Creating it now....." > `/usr/bin/mkfifo ${PADS_FIFO} > else > echo "${PADS_FIFO} already exists." > fi > } > > When I run the init script with rc_debug enabled, it calls the > start_precmd, but absolutely nothing happens. I don't even get the echos. > > # /usr/local/etc/rc.d/pads_agent onestart > /usr/local/etc/rc.d/pads_agent: DEBUG: checkyesno: pads_agent_enable is set > > to YES. > /usr/local/etc/rc.d/pads_agent: DEBUG: run_rc_command: start_precmd: > pads_agent_ck4fifo() > Starting pads_agent. > /usr/local/etc/rc.d/pads_agent: DEBUG: run_rc_command: doit: > /usr/local/bin/sguil-sensor/pads_agent.tcl -D -c > /usr/local/etc/sguil-sensor/pads_agent.conf > [root@buttercup4 /usr/ports/security/sguil-sensor-update/sguil-sensor]# > Error: Unable to read > /var/data/nsm/sguil-sensor/buttercup4.utdallas.edu/pads.fifo > > I even tried this but got the same result. > > ${name}_ch4fifo() > { > warn "You must create PADS_FIFO before starting ${name}." > warn "Set PADS_FIFO in the ${pads_agent_conf} file." > } > > The warn messages aren't in the messages file either, which is expected > behavior. > > What the heck is going on here? Is something wrong with rc.subr on this > host? Am I missing something? > > -- > Paul Schmehl, Senior Infosec Analyst > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ******************************************* > "It is as useless to argue with those who have > renounced the use of reason as to administer > medication to the dead." Thomas Jefferson > "There are some ideas so wrong that only a very > intelligent person could believe in them." George Orwell > > _______________________________________________ > freebsd-rc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-rc > To unsubscribe, send any mail to "freebsd-rc-unsubscribe@freebsd.org" > > -- Chris Rees | FreeBSD Developer crees@FreeBSD.org | http://people.freebsd.org/~crees From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 23:03:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C05F544D; Wed, 19 Dec 2012 23:03:35 +0000 (UTC) (envelope-from prvs=6935c9144=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id 7BFB58FC0C; Wed, 19 Dec 2012 23:03:35 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoQCANVG0lCBbgoggWdsb2JhbABErQuRCA4BARYmgkUBAQQBOAI/BQsLDgouITYGE4gBAwkGrm8NiVWLZGmDYmEDiGGLU4sjgWqIJA X-IronPort-AV: E=Sophos;i="4.84,320,1355119200"; d="scan'208";a="112993440" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Dec 2012 17:03:33 -0600 Date: Wed, 19 Dec 2012 17:03:32 -0600 From: Paul Schmehl To: Chris Rees Subject: Re: Can't get start_precmd to do *anything* Message-ID: In-Reply-To: References: <66E78C5BBEC1BC01C9A7E292@localhost> X-Mailer: Mulberry/4.1.0a1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=2007 Cc: FreeBSD RC List , FreeBSD Questions List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 23:03:35 -0000 --On December 19, 2012 10:47:56 PM +0000 Chris Rees wrote: > On 19/12/2012, Paul Schmehl wrote: >> I'm working on an rc.d init script for a port, and I am clearly in need >> of a clue. >> >> I have a daemon that requires that a FIFO exist before it will start. >> The FIFO is defined in the daemon's conf file. I could just point that >> out to the user using "warn", but I thought it would be nicer to simply >> take care of it programmatically. >> >> So I created this: >> >> start_precmd="${name}_ck4fifo()" > > Is this a copy/paste error, or is your function actually called > _ck4fifo or _ch4fifo? > Both, but I fixed it and nothing changed. >> ${name}_ch4fifo() > > I'm surprised sh isn't choking on this, you can't use ${name} in a > function name. Indirecting it is a waste of processing time, if I'm > honest; just use > > start_precmd=pads_agent_prestart > > pads_agent_prestart() > { > do_something > } > OK, I've done that. Still no change. {{{sigh}}} Here's the current invocation: start_precmd="pads_agent_ck4fifo()" pads_agent_ck4fifo() { . ${pads_agent_conf} if [ ! -p ${PADS_FIFO} ]; then `/usr/bin/mkfifo ${PADS_FIFO}` fi echo "Checking for ${PADS_FIFO}...." if [ -p ${PADS_FIFO} ]; then echo "${PADS_FIFO} exists." return 0 else echo "I tried to create ${PADS_FIFO} and failed." echo "You will need to create it manually before starting ${name}." return 1 fi } -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 23:07:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D64555C; Wed, 19 Dec 2012 23:07:35 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f47.google.com (mail-bk0-f47.google.com [209.85.214.47]) by mx1.freebsd.org (Postfix) with ESMTP id 61D828FC12; Wed, 19 Dec 2012 23:07:33 +0000 (UTC) Received: by mail-bk0-f47.google.com with SMTP id j4so1311924bkw.34 for ; Wed, 19 Dec 2012 15:07:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qg6/AEKCgvumIZygd8pTc3gjc3trgU5s/oJ3mxzNyn8=; b=oXw/Ynu+vwg3ppbPPM/2bylY/Jw9QHngRjHGV9qo9n80E9IYyKpuyMn2k88aEMd9v5 tdRWdvmM0stRESRstMst8JEup/tUMsb7+M2o9ztaMx278KOYuGZ6MWo0VI1CgiDeSHk+ oyKXU8L6xxz/29AZRBdt12UZgZPJYH/D2K0LDnYBR9uCt6x93CAC2bIazJDR77hl4WDp Cd+dwCLAr79XHv1HuB4TsJ2075yF3aP4rj9czRcJTgslCqyXaJVLLqspAkaoCayPACGn PGn+VlHCcmI1kpxRO0ZZn1ETK7XIMxrk5t3zVhHLxSW4RsFaw+z4rR84nTPxwHH6Ntg5 302g== MIME-Version: 1.0 Received: by 10.204.143.147 with SMTP id v19mr3443448bku.32.1355958447496; Wed, 19 Dec 2012 15:07:27 -0800 (PST) Received: by 10.204.167.71 with HTTP; Wed, 19 Dec 2012 15:07:27 -0800 (PST) In-Reply-To: References: <66E78C5BBEC1BC01C9A7E292@localhost> Date: Wed, 19 Dec 2012 23:07:27 +0000 Message-ID: Subject: Re: Can't get start_precmd to do *anything* From: Chris Rees To: Paul Schmehl Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD RC List , FreeBSD Questions List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 23:07:35 -0000 On 19/12/2012, Paul Schmehl wrote: > --On December 19, 2012 10:47:56 PM +0000 Chris Rees > wrote: > >> On 19/12/2012, Paul Schmehl wrote: >>> I'm working on an rc.d init script for a port, and I am clearly in need >>> of a clue. >>> >>> I have a daemon that requires that a FIFO exist before it will start. >>> The FIFO is defined in the daemon's conf file. I could just point that >>> out to the user using "warn", but I thought it would be nicer to simply >>> take care of it programmatically. >>> >>> So I created this: >>> >>> start_precmd="${name}_ck4fifo()" >> >> Is this a copy/paste error, or is your function actually called >> _ck4fifo or _ch4fifo? >> > > Both, but I fixed it and nothing changed. > >>> ${name}_ch4fifo() >> >> I'm surprised sh isn't choking on this, you can't use ${name} in a >> function name. Indirecting it is a waste of processing time, if I'm >> honest; just use >> >> start_precmd=pads_agent_prestart >> >> pads_agent_prestart() >> { >> do_something >> } >> > > OK, I've done that. Still no change. {{{sigh}}} > > Here's the current invocation: > > start_precmd="pads_agent_ck4fifo()" Lose the parentheses in the above line (this isn't C :) ) Chris > pads_agent_ck4fifo() > { > . ${pads_agent_conf} > if [ ! -p ${PADS_FIFO} ]; then > `/usr/bin/mkfifo ${PADS_FIFO}` > fi > echo "Checking for ${PADS_FIFO}...." > if [ -p ${PADS_FIFO} ]; then > echo "${PADS_FIFO} exists." > return 0 > else > echo "I tried to create ${PADS_FIFO} and failed." > echo "You will need to create it manually before starting > ${name}." > return 1 > fi > } > > -- > Paul Schmehl, Senior Infosec Analyst > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ******************************************* > "It is as useless to argue with those who have > renounced the use of reason as to administer > medication to the dead." Thomas Jefferson > "There are some ideas so wrong that only a very > intelligent person could believe in them." George Orwell > > -- Chris Rees | FreeBSD Developer crees@FreeBSD.org | http://people.freebsd.org/~crees From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 23:39:39 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2BAC4365 for ; Wed, 19 Dec 2012 23:39:39 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from yavin.vindaloo.com (yavin.vindaloo.com [72.52.97.79]) by mx1.freebsd.org (Postfix) with ESMTP id 0823F8FC12 for ; Wed, 19 Dec 2012 23:39:38 +0000 (UTC) Received: from geonosis.vindaloo.com (ool-44c34eb3.dyn.optonline.net [68.195.78.179]) by yavin.vindaloo.com (Postfix) with ESMTP id 2041D51845 for ; Wed, 19 Dec 2012 15:33:22 -0800 (PST) Received: from dagobah.vindaloo.com (unknown [IPv6:2001:470:1f07:26b:0:ac18:9141:0]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by geonosis.vindaloo.com (Postfix) with ESMTPS id B90D8BBE2; Wed, 19 Dec 2012 18:33:21 -0500 (EST) Received: from dagobah.vindaloo.com (localhost [127.0.0.1]) by dagobah.vindaloo.com (8.14.5/8.14.5) with ESMTP id qBJNW6Li004014; Wed, 19 Dec 2012 18:32:06 -0500 (EST) (envelope-from chris@dagobah.vindaloo.com) Received: (from chris@localhost) by dagobah.vindaloo.com (8.14.5/8.14.5/Submit) id qBJNW6jb004013; Wed, 19 Dec 2012 18:32:06 -0500 (EST) (envelope-from chris) Date: Wed, 19 Dec 2012 18:32:06 -0500 From: Christopher Sean Hilton To: questions@freebsd.org Subject: ath0 + wpa/wpa2 + apple airport extreme = no joy. Message-ID: <20121219233206.GA3920@dagobah.vindaloo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 23:39:39 -0000 I posted on a similar subject last year but in the end it turned out to be irrelevant. I'm trying to get the combination of: a Soekris Net4511, FreeBSD 8-STABLE from Dec 2011, an Atheros AR5BMB-44 wifi interface (identified as AR5212 in dmesg), an Apple Airport Extreme (about 2010 vintage) with WPA/WPA2 security, to all play nicely. To start with I plan to look at the change logs for the wpa_supplicant suite to see if there were changes from last December to now. I will probably just upgrade this box to a later vintage of 8-STABLE. Still, hit me with a cluebat if this problem got fixed between December, 2011 and now. Anyhow, no matter what I've done, the result is the same: The atheros/wlan combo associates to my wireless network; The dhcp client on the soekris sends a request to the dhcp server. The dhcp server receives the negotiation and tries to offer a lease but the soekris never receives a reply; I've confirmed this by running tcpdump on the dhcp server where I've seen the requests arrive with the atheros' mac address and I've seen the replies go back out of the dhcp server but either the atheros isn't listening or the Airport Extreme isn't forwarding the traffic. I haven't sniffed the wifi to see if the Airport Extreme just isn't forwarding the reply or if the atheros isn't receiving it properly. I can convince this combination of hardware to work if I change the network security on the airport extreme from WPA/WPA2 to None. The configuration that I feel should make the atheros work with the Airport Extreme works just fine with my 2010 vintage Airport Express. The Express and the Extreme are basically creating the same network. The Extreme is on 2.4GHz channel 11, the Express on 2.4GHz 1. The reason I have both so you are always near an access point. I can get the atheros to work with WPA2 on my Mifi 4082. As a new data point, the combination of an Intel 2200bg + WPA works with the Airport Extreme. I've posted my configs after my signature if you want to look and I can provide more information if you need it. My hope in posting this is to try and figure out what's up with the atheros or the Airport Extreme that it isn't working in this configuration. If anyone has an atheros card working with WPA/WPA2 and an Apple Airport Extreme I'd love any assistance you'd be willing to give me with the configuration. Thanks for any help you can provide. -- -- Chris ---------------------------------------------------------------------------- "There will be an answer, Let it be." e: chris -at- vindaloo -dot- com This is the hacked /etc/rc.conf to work with the Intel card: ... wpa_supplicant_enable="YES" ## wlans_ath0="wlan0" wlans_iwi0="wlan0" ifconfig_wlan0="WPA DHCP" ... Here's my abridged /etc/wpa_supplicant.conf: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 ## Airport Extreme network={ ssid="FooBarBaz" bssid=f8:1e:df:xx:xx:xx psk="************" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP priority=12 } ## Airport Express network={ ssid="FooBarBaz" bssid=00:1f:f3:xx:xx:xx psk="************" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP priority=10 } ## Mifi 4082 network={ ssid="FooBarBaz-Mobile" psk="************" priority=0 } Finally, here's the result of ifconfig on wlan0/iwi0 associated and working with the Airport Extreme: ryloth chris $ ifconfig iwi0 iwi0: flags=8843 metric 0 mtu 2290 ether 00:15:00:xx:xx:xx media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated ryloth chris $ ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 00:15:00:xx:xx:xx inet 10.59.145.87 netmask 0xfffffe00 broadcast 10.59.145.255 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated ssid FooBarBaz channel 11 (2462 MHz 11g) bssid f8:1e:df:xx:xx:xx country US authmode WPA2/802.11i privacy ON deftxkey UNDEF TKIP 3:128-bit txpower 0 bmiss 24 scanvalid 60 protmode CTS wme roaming MANUAL From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 00:39:47 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 707FFDFA for ; Thu, 20 Dec 2012 00:39:47 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from yavin.vindaloo.com (yavin.vindaloo.com [72.52.97.79]) by mx1.freebsd.org (Postfix) with ESMTP id 541C68FC14 for ; Thu, 20 Dec 2012 00:39:46 +0000 (UTC) Received: from geonosis.vindaloo.com (ool-44c34eb3.dyn.optonline.net [68.195.78.179]) by yavin.vindaloo.com (Postfix) with ESMTP id 9F89151845 for ; Wed, 19 Dec 2012 16:39:46 -0800 (PST) Received: from [172.24.140.149] (aa-dhcp-14.vindaloo.com [172.24.140.149]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by geonosis.vindaloo.com (Postfix) with ESMTPSA id 020C3BBE2; Wed, 19 Dec 2012 19:39:45 -0500 (EST) Subject: Atheros, AirPort Extreme, WPA issues From: Christopher Sean Hilton Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (10A523) Message-Id: <6D10F9F7-B84C-4424-8308-B9CE3070F5A3@vindaloo.com> Date: Wed, 19 Dec 2012 19:39:46 -0500 To: "questions@freebsd.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 00:39:47 -0000 I'm having issues using an ath(4) AR5212 card to connect FreeBSD 8.2 to the I= nternet via an Apple AirPort Extreme with WPA protection. Basically the ath/= wlan combo associates to the network and can send packets fine but receiving= fails. The is seen when you try to negotiate a DHCP lease. I have this comb= o working with a Novatel MiFi and an Airport Express but the extreme fails.=20= If you have this combo working I'd love to exchange an email or so. I can pr= ovide my configs when I get back to my test rig. Thanks Chris Sent from my iPhone= From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 01:03:42 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AECAA57A for ; Thu, 20 Dec 2012 01:03:42 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from yavin.vindaloo.com (yavin.vindaloo.com [72.52.97.79]) by mx1.freebsd.org (Postfix) with ESMTP id 8F8EE8FC0A for ; Thu, 20 Dec 2012 01:03:42 +0000 (UTC) Received: from geonosis.vindaloo.com (ool-44c34eb3.dyn.optonline.net [68.195.78.179]) by yavin.vindaloo.com (Postfix) with ESMTP id 3E2B45187C for ; Wed, 19 Dec 2012 17:03:42 -0800 (PST) Received: from kessel.vindaloo.com (kessel.vindaloo.com [172.24.145.71]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by geonosis.vindaloo.com (Postfix) with ESMTPSA id D59CBBBE2; Wed, 19 Dec 2012 20:03:41 -0500 (EST) Subject: Re: Atheros, AirPort Extreme, WPA issues Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Christopher Hilton In-Reply-To: <6D10F9F7-B84C-4424-8308-B9CE3070F5A3@vindaloo.com> Date: Wed, 19 Dec 2012 20:03:41 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <78D58AFF-8DFF-4CAA-982B-1DB3B8ACBF15@vindaloo.com> References: <6D10F9F7-B84C-4424-8308-B9CE3070F5A3@vindaloo.com> To: "questions@freebsd.org" X-Mailer: Apple Mail (2.1283) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 01:03:42 -0000 On Dec 19, 2012, at 7:39 PM, Christopher Sean Hilton wrote: > I'm having issues using an ath(4) AR5212 card to connect FreeBSD 8.2 = to the Internet via an Apple AirPort Extreme with WPA protection. = Basically the ath/wlan combo associates to the network and can send = packets fine but receiving fails. The is seen when you try to negotiate = a DHCP lease. I have this combo working with a Novatel MiFi and an = Airport Express but the extreme fails.=20 >=20 > If you have this combo working I'd love to exchange an email or so. I = can provide my configs when I get back to my test rig. >=20 Sorry about replying to my own post. Please ignore this thread. I = thought that the much more detailed post got lost due to an error from = mutt. -- Chris= From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 02:12:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8DA6D10 for ; Thu, 20 Dec 2012 02:12:25 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id 829008FC0C for ; Thu, 20 Dec 2012 02:12:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=Bf1nuupGV2kUU01I5xHA04JxqggTTVuMcMztuGsvGs4=; b=qxFUI++n+YarBKYsODOfNz2JbVvcbtL3AP3dU560d3WQFnO63SrYaY5AM2Co+YXvp15p4ndHzFJkT3bVWophLiQVghxUgc28gx719sxsmbYMqynoNVxWRRN6qdOYMJvj; Received: from [122.129.203.50] (port=61731 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1TlVcQ-003rLS-Uo; Wed, 19 Dec 2012 19:12:19 -0700 Date: Thu, 20 Dec 2012 09:12:16 +0700 From: Erich Dollansky To: Ralf Mardorf Subject: Re: Upgrading FreeBSD 8.3 amd64 Message-ID: <20121220091216.40d1644b@X220.ovitrap.com> In-Reply-To: <1355936956.2501.72.camel@q> References: <1355852561.2501.10.camel@q> <20121218185757.f10640e0.freebsd@edvax.de> <1355933062.2501.19.camel@q> <1355936956.2501.72.camel@q> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 02:12:25 -0000 Hi, On Wed, 19 Dec 2012 18:09:16 +0100 Ralf Mardorf wrote: > On Wed, 2012-12-19 at 10:14 -0600, Antonio Olivares wrote: > > You may also use at your discretion the portmaster tool? It works > > very well and a nice example is given by W. Block: > > > > http://www.wonkity.com/~wblock/docs/html/portupgrade.html > > Thank you Antonio :) > > because I can't install FreeBSD by the 9.0 DVD, for what reason ever > this doesn't work, I installed it by the 8.3 DVD and will now make a > release upgrade. IIUC a release upgrade will rebuild everything, hence one way was already shown to you. The other route would lead you via the sources. I prefer the sources over the binary upgrade. If the new kernel will not boot, you can boot the old kernel which will then be under kernel.old. > there should be no dependency issues. My FreeBSD 8.3 is a fresh Dependencies come in when it comes to ports. I would like to suggest the you first make a decision whether you want the ports as binaries or via source. Both routes work. Only the sources allow you to specify options. I would also recommend to download first the sources or the binaries and start the upgrade only after all files are downloaded. As you already know, portupgrade is the tool of choice here. If you have problems with 9.1, you might consider a move to 10. I have done this too for the same reason when I got a new machine which has had problems with 9.0. 10.0 is not recommended for production. Me and many other still do this. You might will run occassionally into problems. So, think twice before doing this. > install, I only set up PPPoE, anything else is default. > IIUC I need to take care about it to keep dependencies up to date, > when I don't upgrade the complete release, but just upgrade some > software. > > So, can I upgrade from 8.3 to 9.0, without taking care about > dependencies and take care about the link, when 9.0 is installed, > instead of doing it right now? > FreeBSD and the ports have 'nothing' to do with each other. You have to upgrade FreeBSD first and then upgrade the ports. Most likely, all applications will continue to work without upgrade. If I remember right, even after an upgrade from 8.3 to 10.0 on one of my machines, all applications continued to work. I still upgraded them as fast as possible. > My apologize for the terrible English, I'm in a hurry, but wanted to > rely immediately and this makes broken English not better ;). Do not worry about this here. I think, while you have been pretty clear on the rest, the last line does not make real sense to me. Erich From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 04:13:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D05C8C59 for ; Thu, 20 Dec 2012 04:13:41 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm10.bullet.mail.ird.yahoo.com (nm10.bullet.mail.ird.yahoo.com [77.238.189.39]) by mx1.freebsd.org (Postfix) with ESMTP id EAAFB8FC12 for ; Thu, 20 Dec 2012 04:13:40 +0000 (UTC) Received: from [77.238.189.49] by nm10.bullet.mail.ird.yahoo.com with NNFMP; 20 Dec 2012 04:13:39 -0000 Received: from [217.146.189.99] by tm2.bullet.mail.ird.yahoo.com with NNFMP; 20 Dec 2012 04:13:39 -0000 Received: from [127.0.0.1] by smtp115.mail.ird.yahoo.com with NNFMP; 20 Dec 2012 04:13:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1355976819; bh=KKlRu3zNWPQtzniQH+BQD4nusDcfUInrWDZid2MVKjc=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=5uJBip0LiE0OYlVP9HJ2d8CDL2Z1mZZ9pMdiJJE/3W97eu4hcBWCZeCW9puQxTSk1ZtYSJOE0N4CTj/sRf6lCQXzzGYYhx+/+TxQ752PAhmBvRPEPvsV/li7jlQ7Kx/tIoS/dZEfP06cpFa2JIg0sRFAnlYxCUJX6MBjEqo69ds= X-Yahoo-Newman-Id: 805907.6636.bm@smtp115.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 4irYS8sVM1lgXV973oxdC3rlT22kk5VBpD4kgL20vXuz7Cx lowog.SaYPnbgjS1qIWbMo5BIhsm.fIQB4_ukKK.DI53Y2oHdpNxSnlVUBy2 UJqL49FuSMBJKF.rNe0UBcNJhLcMYYLNscPrpclcvKksk11yiGEJFz3Y4.yz eGhdJYN4TLTaKu0hGxCNDgCVn813QCQ1WZYMEAvPBgS4OimHqHp5r915ialE m3qVPimC_XVmw7nJBILkv1HcGmY.i13eTpoWD7SeemYsKdK1P2y.3_46tbpJ hMNGjhpQg9wEZNctdssgBJJYPkIHYHypWQlQoTW4u17MhisrQf0CAoovgX0f Xnr18mWUWCdMJOdWgF.S2NzpPwDnofnmjlZADxHKXM.2WY2AB_KDtcsLgeEL pTIxQiGi7YbmWoRzgAJKDefST3bXWcW0xYczt5RA- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.25.217] (ralf.mardorf@85.182.25.217 with login) by smtp115.mail.ird.yahoo.com with SMTP; 19 Dec 2012 20:13:39 -0800 PST Message-ID: <1355976819.2501.368.camel@q> Subject: Re: Upgrading FreeBSD 8.3 amd64 From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Thu, 20 Dec 2012 05:13:39 +0100 In-Reply-To: <20121220091216.40d1644b@X220.ovitrap.com> References: <1355852561.2501.10.camel@q> <20121218185757.f10640e0.freebsd@edvax.de> <1355933062.2501.19.camel@q> <1355936956.2501.72.camel@q> <20121220091216.40d1644b@X220.ovitrap.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 04:13:41 -0000 Thank you Erich :) ok, so "FreeBSD release" is the version of the kernel and not a labelling for the collection of all the software. For Linux major distros there usually is a labelling for the collection of the software, independent of the kernel version. On Linux I usually install binaries for the base system and desktop environment, but for important software, in my case it's audio, compiling from source is very important. The author of the snd_hdspe driver for FreeBSD seems to need testers. It seems to be that nobody ever tested if ADAT is working and I'll test it. OTOH I suspect bug fixes for the driver have to be added by recompiling the kernel or at least the driver for the kernel, so I still could use binaries for the applications. Since audio on FreeBSD seems to be a niche, I wonder if it's more promising, to go the source or to go the binary rout. I suspect if it's impossible or at least less good to mix binaries and from source build software for FreeBSD, I should chose to build from source. Regards, Ralf From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 04:29:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E41CA383 for ; Thu, 20 Dec 2012 04:29:14 +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 8A6718FC15 for ; Thu, 20 Dec 2012 04:29:14 +0000 (UTC) Received: from r56.edvax.de (port-92-195-94-87.dynamic.qsc.de [92.195.94.87]) by mx02.qsc.de (Postfix) with ESMTP id D7B432769D; Thu, 20 Dec 2012 05:29:06 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBK4T8Oe002898; Thu, 20 Dec 2012 05:29:08 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 20 Dec 2012 05:29:08 +0100 From: Polytropon To: Ralf Mardorf Subject: Re: Upgrading FreeBSD 8.3 amd64 Message-Id: <20121220052908.e1120684.freebsd@edvax.de> In-Reply-To: <1355976819.2501.368.camel@q> References: <1355852561.2501.10.camel@q> <20121218185757.f10640e0.freebsd@edvax.de> <1355933062.2501.19.camel@q> <1355936956.2501.72.camel@q> <20121220091216.40d1644b@X220.ovitrap.com> <1355976819.2501.368.camel@q> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 04:29:15 -0000 On Thu, 20 Dec 2012 05:13:39 +0100, Ralf Mardorf wrote: > Thank you Erich :) > > ok, so "FreeBSD release" is the version of the kernel and not a > labelling for the collection of all the software. No. The version specification refers to the version of the kernel _and_ the operating system (which form a unit maintained by the FreeBSD team). Those typically have to be in sync. Depending on what branch you follow, this can be: a) a static release number, e. g. 8.2-RELEASE b) a release, enriched by security updates, e. g. 8.2-RELEASE-p2 c) a stable version, e. g. 8-STABLE of a specific date (this is "work in progress" that has been considered working) d) a development version, e. g. 10-CURRENT (this may or _may not_ even compile, it's experimental) Depending on what branch you follow, updating techniques may differ: freebsd-update (the binary way) can be used for a) and b); for c) and d) you update from source. > For Linux major distros there usually is a labelling for the collection > of the software, independent of the kernel version. Linux doesn't know the differentiation between "the operating system" (consisting of the OS kernel and the OS programs, the "world" in FreeBSD terminology) and "everything else" (third party contributed applications, in FreeBSD provided by the ports collection). > On Linux I usually install binaries for the base system and desktop > environment, but for important software, in my case it's audio, > compiling from source is very important. The ports collection allows both binary installation and by source. There are tools that help managing them. Note that unlike Linux, FreeBSD draws a line between "the OS" and "installed applications" - you need to install and update them separately. This is a big benefit as a failed program installation can never harm your OS. > The author of the snd_hdspe driver for FreeBSD seems to need testers. It > seems to be that nobody ever tested if ADAT is working and I'll test it. > OTOH I suspect bug fixes for the driver have to be added by recompiling > the kernel or at least the driver for the kernel, so I still could use > binaries for the applications. Of course. The separation I've mentioned explicitely allows this method to function. What you need to do is to update your sources in /usr/src and then recompile the kernel and, if required, the world, as explained in /usr/src/Makefile's comment header. > Since audio on FreeBSD seems to be a niche, I wonder if it's more > promising, to go the source or to go the binary rout. I'd say: Use the source Luke. :-) Experimental changes and "bleeding edge updates" are typically a domain of source installations. With svn you can track smallest changes very quickly, apply them to your system and have a test run. Doesn't work? Undo the change, or wait for a new version. > I suspect if it's impossible or at least less good to mix binaries and > from source build software for FreeBSD, I should chose to build from > source. Basically there is no problem. One thing you have to pay attention to is dependency versions, but that's what port management tools like portmaster can do for you. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 06:57:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED030580 for ; Thu, 20 Dec 2012 06:57:22 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 816088FC12 for ; Thu, 20 Dec 2012 06:57:22 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id o1so4029074wic.5 for ; Wed, 19 Dec 2012 22:57:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=awS6n9g9kEXtDbVdKvnYFC6WixwzgJDvGew9DHbWZ0I=; b=lH/GIcWiWRLff1QfVLvzuumdA0oghPPq1fQVqDC5C65N9RXzwiTZCiZvDUhn9AYqdu 3cDrU5TGK/85SwHWfuDiu1v1YzgQcqMgcAxXrv5C7LY0CmSnS51crAEC0I7Uupz8mDdG n84yK5/98Bz78GwXHpT2Zqe1A97ava9aXf1U3x70TSCZizkX0CnxHaNoXBLYWRlgYOBO 7s1lZqPyG852U5ptM7S8nsuBWlz5HEbJxnJ2rk1tgvwwMTw5mhqK/sjD4j91l6yWS4Li pn21G9P7INRoJwVVJsD2rX+XyZXNhYVs+3cwFoxn40QFO4zkAxkYoEhPmoZeZ717+JTB fE1A== MIME-Version: 1.0 Received: by 10.180.99.72 with SMTP id eo8mr7982401wib.34.1355986641465; Wed, 19 Dec 2012 22:57:21 -0800 (PST) Received: by 10.180.95.229 with HTTP; Wed, 19 Dec 2012 22:57:21 -0800 (PST) Date: Thu, 20 Dec 2012 07:57:21 +0100 Message-ID: Subject: Radeon HD 2400 PRO, DRI setup problem From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: User Questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 06:57:23 -0000 Hi all, I here reproduce the mail I sent to freebsd-x11 for which I received no reply. I hope I have more luck in questions@ I'm having quite a few problems setting DRI up on my system. I'm running 9.0-RELEASE on amd64 using GENERIC kernel. I recompiled the radeon kernel module with WITHOUT_NOUVEAU="YES" just to see if I had more luck. This is some information about my system: pciconf -lv: vgapci0@pci0:4:0:0: class=0x030000 card=0x10411462 chip=0x94c31002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'RV610 video device [Radeon HD 2400 PRO]' class = display subclass = VGA Using GENERIC kernel for 9.0-RELEASE on amd64. radeon kernel driver compiled with WITHOUT_NOUVEAU. /usr/ports/graphics/dri properly configured and installed. I followed instructions at http://dri.freedesktop.org/wiki/DriTroubleshooting, but I found that dmesg | grep agp doesn't return anything so I suppose this is a bad sign. I know agp subsystem has been in the default kernel for a while. I can also load the radeon module and I get the /dev/dri/card0 device node. Using the radeon driver for Xorg results in a system hang after a blank screen and the monitor going to sleep. Only if I set DRI to false and I _do not_ load the radeon driver I can get my X server running though it is quite slow. The output of glxinfo | grep OpenGL is: OpenGL vendor string: Mesa Project OpenGL renderer string: Software Rasterizer OpenGL version string: 2.1 Mesa 7.6.1 OpenGL shading language version string: 1.20 OpenGL extensions: So basically I don't know how to get the card working. It works in Linux with the Xorg's radeon driver so I suppose I have some misconfiguration around but I can not figure it out. Any help would be appreciated. Thanks in advance. PS: Please, CC me as I'm not subscribed to the list. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 09:19:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6A208F9 for ; Thu, 20 Dec 2012 09:19:05 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id 9EFE88FC0A for ; Thu, 20 Dec 2012 09:19:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=vj0YLdyg7qQPj1Pm8Wmcck1f9OQdUODbjTbOVrikz4M=; b=Z4RKOYg1T6J3veNICyDRwlXO7YrP1dJUf0l4UbZWGfNbn75h8sPWj1emH6a2fWr59uSzdlBF7SPa5NTliv7bplI26pluspVg+sI7CoCfggJSDaP+SvsMML6JZ740joYE; Received: from [122.129.203.50] (port=53031 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1TlcHQ-002fOi-AG; Thu, 20 Dec 2012 02:19:04 -0700 Date: Thu, 20 Dec 2012 15:52:08 +0700 From: Erich Dollansky To: Ralf Mardorf Subject: Re: Upgrading FreeBSD 8.3 amd64 Message-ID: <20121220155208.0e45f33c@X220.ovitrap.com> In-Reply-To: <1355976819.2501.368.camel@q> References: <1355852561.2501.10.camel@q> <20121218185757.f10640e0.freebsd@edvax.de> <1355933062.2501.19.camel@q> <1355936956.2501.72.camel@q> <20121220091216.40d1644b@X220.ovitrap.com> <1355976819.2501.368.camel@q> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 09:19:06 -0000 Hi, On Thu, 20 Dec 2012 05:13:39 +0100 Ralf Mardorf wrote: > ok, so "FreeBSD release" is the version of the kernel and not a > labelling for the collection of all the software. yes. It is even so that the ports work on all 'current' FreeBSD versions but not the packages. With other words, you will download always the same source files for 7.4, 8.3, 9.0, 9.1 and 10.0 but compile it then for your version. > > For Linux major distros there usually is a labelling for the > collection of the software, independent of the kernel version. > > On Linux I usually install binaries for the base system and desktop > environment, but for important software, in my case it's audio, > compiling from source is very important. > This does not really matter here. It is only that you might do not have the options compiled in you will need when using the binary. > The author of the snd_hdspe driver for FreeBSD seems to need testers. I never have heard of this driver. > It seems to be that nobody ever tested if ADAT is working and I'll > test it. OTOH I suspect bug fixes for the driver have to be added by > recompiling the kernel or at least the driver for the kernel, so I > still could use binaries for the applications. Using sources for the kernel is then the way to go. Binaries could work if the required options are compiled in. You can mix binaries and source within the applications. I do this all the while. I install very often the binary and compile later from sources. > > Since audio on FreeBSD seems to be a niche, I wonder if it's more > promising, to go the source or to go the binary rout. Source is the more promissing route here as niches are not supported by default. There are some rare cases in which options exclude each other. So, if you have strange hardware, source is the only route. > > I suspect if it's impossible or at least less good to mix binaries and > from source build software for FreeBSD, I should chose to build from > source. You can mix. If it works, it works. If not, it is most likely an option not compiled in you would need. Erich From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 11:34:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 47A3D770; Thu, 20 Dec 2012 11:34:35 +0000 (UTC) (envelope-from egoitz@ramattack.net) Received: from proxypop04.sare.net (proxypop04.sare.net [194.30.0.65]) by mx1.freebsd.org (Postfix) with ESMTP id BC0478FC0C; Thu, 20 Dec 2012 11:34:34 +0000 (UTC) Received: from [172.16.2.46] (izaro.sarenet.es [192.148.167.11]) by proxypop04.sare.net (Postfix) with ESMTPSA id A1FD79DED6E; Thu, 20 Dec 2012 12:34:20 +0100 (CET) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: about unattended installation From: Egoitz Aurrekoetxea Aurre In-Reply-To: <7FFE45C4-2001-46CF-AAE3-D1DF7B6EC9DE@fisglobal.com> Date: Thu, 20 Dec 2012 12:34:26 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <01CDE828-3BA6-48E5-8FA2-F06082A0B582@ramattack.net> References: <40FD5C3B-CF8B-4376-BA6B-9F90747CFFAF@ramattack.net> <7FFE45C4-2001-46CF-AAE3-D1DF7B6EC9DE@fisglobal.com> To: Devin Teske X-Mailer: Apple Mail (2.1499) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 11:34:35 -0000 Good morning, El 19/12/2012, a las 19:59, Devin Teske = escribi=F3: >=20 > On Dec 19, 2012, at 10:06 AM, Egoitz Aurrekoetxea Aurre wrote: >=20 >> Good afternoon, >>=20 >> One little question=85 I'm trying to have ready our new unattended = FreeBSD installation system. Until now, I have been using Sysinstall = scripting file but now with 9.1 out I think it's moment to start using = BSDInstaller in the unattended installation process. >=20 > Hold on a moment. You might want to wait until 9.2. (read more below) >=20 Well in the ftp can be seen :=20 FreeBSD-9.1-RELEASE-amd64-disc1.iso downloadable file=85. so I assume = it's a release??? >=20 >=20 >> I have seen the new installer, works basically like an script=85. my = real question is=85 before I did in install.cfg something like :=20 >>=20 >> ################################ >> disk=3Dda0 >> partition=3Dall >> bootManager=3Dstandard >> diskPartitionEditor >>=20 >> ################################ >>=20 >> da0s1-1=3Dufs 3072000 / >> da0s1-2=3Dswap 8096000 none >> da0s1-3=3Dufs 20485760 /var 1 >> da0s1-4=3Dufs 30720760 /usr 1 >> da0s1-5=3Dufs 0 /expert 1 >> diskLabelEditor >>=20 >> ################################ >>=20 >> Now I assume there's no way of getting this same through any command = like=85 'bsdinstall partedit _______________________' am I wrong??. >=20 > You're correct. In 9.0 and 9.1, it's just not feasible to man-handle = the user interface (partedit) as one could sysinstall. (read below about = 9.2) >=20 >=20 So I suppose that till the new installer is able to handle this in a = similar way to sysinstall (although the syntax to be different or = whatever)=85. or partitioning can be achieved in some non interactive = way, to maintain the possibility of rebuilding one's own release in = order to be able to use sysinstall and to be able to maintain working = unattended installation systems=85. because this is essential for some = of us=85.. and of course sysinstall to still continue working :)... >=20 >> So I assume all should be done by hand like this example of the = Handbook :=20 >>=20 >> # dd if=3D/dev/zero of=3D/dev/da1 bs=3D1k count=3D1 >> # fdisk -BI da1 #Initialize your new disk >> # bsdlabel -B -w da1s1 auto #Label it. >> # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any = partitions. >> # mkdir -p /1 >> # newfs /dev/da1s1e # Repeat this for every partition you created. >> # mount /dev/da1s1e /1 # Mount the partition(s) >> # vi /etc/fstab # Add the appropriate entry/entries to your = /etc/fstab. >>=20 >> In the auto script=85. >>=20 >> am I wrong?. If the answer is yes=85 could you point me to some = documentation in order to be able to complete all this doc. >=20 > The answer is (unfortunately) yes=85 that is until (hopefully) 9.2. >=20 > It's an on-going significant amount of work to make add backward = compatibility (so bsdinstall can load sysinstall "install.cfg" files). = I'm not going to discuss the specifics here or yet, but I'm actively = working on it. >=20 > No docs on how to mangle the auto script to do what you want (that I = know of). Ok then :) >=20 >=20 >=20 >> Apart from all this=85 is Sysinstall going to be maintained in = parallel?. >>=20 >=20 > Sysinstall is dead. Devin, sysinstall should not be died till the new installer allows or = exists a way of doing same thing than before we did in some manner or = other one=85.. because else=85 don't know... can this commands be = translated to gpart for example??=85 and to act in a non interactive = way??. But apart from the own gpart the are later other parts of the = installation which should be done too=85 like selecting which = distributions to install in a non interactive way for example=85.. if = that is not possible to be done=85 in a non interactive way=85. = sysinstall should not disappear=85. > The bsdinstall you know can be considered the "first generation" and = accordingly is a bit spartan. I'm working hard on the next generation. = My plan is to have 10.0 with bsdinstall able to run sysinstall scripts = (for backward compatibility; can't yet say what 9.x release will be = MFC'd to, but that could be 9.2). >=20 > I'm planning one helluva BSDCan-2013 presentation. > --=20 > Devin >=20 Thanks a lot for all !! Best regards, From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 13:08:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17259519; Thu, 20 Dec 2012 13:08:38 +0000 (UTC) (envelope-from basarevych@gmail.com) Received: from mail-qa0-f46.google.com (mail-qa0-f46.google.com [209.85.216.46]) by mx1.freebsd.org (Postfix) with ESMTP id A727E8FC13; Thu, 20 Dec 2012 13:08:37 +0000 (UTC) Received: by mail-qa0-f46.google.com with SMTP id r4so5361462qaq.12 for ; Thu, 20 Dec 2012 05:08:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=RsN1Dq49GOupygSiP0g81Aytah+aF826yuEFZ6lZwQo=; b=WiP3ZqYJL0On60/MWPH3JF6KtRWRkUogbSg9MEa5AVZidz2v4glskrnZG6jC7gQA7c QasVMHTUA8+CapfWAlW9HIw7N9Cwji3ZaBHibUeHbekVFwMsOEBqrBgbV2P/i8zsh+sy iqoIBlW158ozPG0WjCWeQXMYEo10R/PmGoqdTJU2uBF25Zpcmdv92TZcR3HmFmV4DENu 4WaMOiA5fJfNq+GrUIGZ5X/gcW8/Q1M5SqXCh/wNBUkA7fixko4CJFqRkvUptdGOEETD 2MmURSZ1LRWU9rQ8oi2zj3P4fDN8RpOiwaZoSbz3N6hMhwhKom+32WpGxtBChi5UEVSh z+lQ== MIME-Version: 1.0 Received: by 10.224.177.209 with SMTP id bj17mr4756375qab.12.1356008911549; Thu, 20 Dec 2012 05:08:31 -0800 (PST) Received: by 10.49.105.130 with HTTP; Thu, 20 Dec 2012 05:08:31 -0800 (PST) Date: Thu, 20 Dec 2012 15:08:31 +0200 Message-ID: Subject: Sound lag in Wine From: Ross To: freebsd-questions@freebsd.org, freebsd-emulation@freebsd.org, David Naylor Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 13:08:38 -0000 Hello. I installed David Naylor's wine-fbsd64-1.5.18. Installed Steam, bought Counter-Strike 1.6 and CS: CZ. However, when I run these games I experience a sound lag (maybe a half-second =E2=80=94 second). I googled the topic, the soultion is to switch to Alsa, which is not supported in wine-fbsd64-1.5.18=E2=80=A6 Is there anything I can do to get rid of the lag? From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 13:58:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B8D0345 for ; Thu, 20 Dec 2012 13:58:10 +0000 (UTC) (envelope-from oroojeny@gmail.com) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com [209.85.215.43]) by mx1.freebsd.org (Postfix) with ESMTP id B43968FC13 for ; Thu, 20 Dec 2012 13:58:08 +0000 (UTC) Received: by mail-la0-f43.google.com with SMTP id z14so3050743lag.16 for ; Thu, 20 Dec 2012 05:58:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=gxas3ABg9fdHhwg7PcXL12iq+eCICGQh63lviWzFAdc=; b=XuUT2ESoPEzymmjQ1kRLLdpdp/2rgRSlebyd3dzHu3T7TlnN1URf6jradlLhICQAs1 pExWYnw4/pLuaIhtf6goTkk6TZ2tPpmLf/Pf3/heFP6Z087QwTNKdAHrtQr7o5ENeNZ9 7hExEScDImMbl2Y6H3QD1L5ZDFRyKnVaN7jN3u1mNqmpbahh1pD3god8Q9hZNVE67T9y me+cKaWqUM4cAiTPPnarkNT6Z8Ni7/MVoSssU9+aKwL5txVzYsy4nofuWWJ+k07SxmHX +UJjA0wNECdps1Zpb6HnRiMYM4jKf6wn2BGIOPRmeCbhlnImXFu/6mghOUH+5c+uhDyC F4oA== Received: by 10.152.131.137 with SMTP id om9mr8795197lab.18.1356011887601; Thu, 20 Dec 2012 05:58:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.43.74 with HTTP; Thu, 20 Dec 2012 05:57:47 -0800 (PST) From: Hooman Oroojeni Date: Thu, 20 Dec 2012 13:57:47 +0000 Message-ID: Subject: How to Make Customized Boot-able DVD or USB To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 13:58:10 -0000 Hi People, I was wondering if I could make a FreeBSD boot-able USB or DVD with pre-installed software and services such as DHCP Client/Server. I would be pleased if you could help me. Thanks Hooman From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 14:31:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC983C5B for ; Thu, 20 Dec 2012 14:31:50 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-bk0-f50.google.com (mail-bk0-f50.google.com [209.85.214.50]) by mx1.freebsd.org (Postfix) with ESMTP id 362938FC14 for ; Thu, 20 Dec 2012 14:31:49 +0000 (UTC) Received: by mail-bk0-f50.google.com with SMTP id jf3so1724709bkc.37 for ; Thu, 20 Dec 2012 06:31:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=lmB05AdfzTYgeS2VGub0bbBfJux9umB3vzSVzT8JmDw=; b=NE0YF/b9YAD32tI53sXbtdvJAze4TQlYhrC0rGpZRwO/np0PPFw9uUdq0VeUOduG7b onAKfqI2F8JSKIfvaRyqEvhNUKo3ZnxM9HtzJaLJF++LuJYqamMdZLJ2zSTOz5WeZyRH XeCGCISJK5mlK4QD4m8FAgLg+HNc/HpoqqOE+iuSgavwrRk0z1U/fQby31Vlm2WHh0BH gM4RTKwAdJqWSwRVUcu8UjnqPPfBOgH6XHvMHUQ35f3pyxO2364BuLA5FhRxZoJpVPN0 RQ5hXTe4xckVoY0gb7xAW9BGxapogvDXlBixhPjvv5TW5NLINvgckk+xG1v0wQBc+znG 7W7g== MIME-Version: 1.0 Received: by 10.112.11.68 with SMTP id o4mr3898759lbb.128.1356013908960; Thu, 20 Dec 2012 06:31:48 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.112.3.68 with HTTP; Thu, 20 Dec 2012 06:31:48 -0800 (PST) Date: Thu, 20 Dec 2012 09:31:48 -0500 X-Google-Sender-Auth: lZAlvrULYm7MyXDE5GILXaqe7No Message-ID: Subject: FreeBSD 8 or 9 on HP ML350 G8 From: Rick Miller To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 14:31:50 -0000 Hi all, I'm just wondering if anyone has any experience running 8 or 9 on the ML350 G8. Is there anything that should be taken into consideration while using these chassis' such as having 2 or more of the built-in RAID controllers activated? Potential issues with disk volumes of varying sizes (like, 2T or more)? Any special BIOS settings or firmware versions? -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 15:51:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CEEA5A9B for ; Thu, 20 Dec 2012 15:51:22 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm8-vm0.bullet.mail.ukl.yahoo.com (nm8-vm0.bullet.mail.ukl.yahoo.com [217.146.183.238]) by mx1.freebsd.org (Postfix) with ESMTP id 021C78FC12 for ; Thu, 20 Dec 2012 15:51:21 +0000 (UTC) Received: from [217.146.183.213] by nm8.bullet.mail.ukl.yahoo.com with NNFMP; 20 Dec 2012 15:51:15 -0000 Received: from [77.238.184.72] by tm6.bullet.mail.ukl.yahoo.com with NNFMP; 20 Dec 2012 15:51:15 -0000 Received: from [127.0.0.1] by smtp141.mail.ukl.yahoo.com with NNFMP; 20 Dec 2012 15:51:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1356018675; bh=QWdvig0Pyfefnl4q1rVGU6i5rr6mhdxptG/8BhlbKVM=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=uQ/LAtsHG9K+Ks3L8Yoa0xF5e/1BoghM0FOp5bqodi0kq9Wl2jzQiCYcWNER1Q+2aqGqhzBFh6w2MITrGCGDustcThd2oyA4vG7vESFFIYNVO5GPGAqm/U8crxZPlU+vCvoATCqSq94TyzMwCltKGjjN2PPNisr1j+iXENS+7Cw= X-Yahoo-Newman-Id: 80147.88818.bm@smtp141.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: qHN48tQVM1mq8I6Afiti0YZ2AsdYBki40uN6nefHfG9rGAT tL9XT_jmUPiebfLh38WSGzEuL_NiGrDrS9Vg_fJS9v0QYc3UxZ3EpWUaRvST g.4laKd6JGIP1.tRIyfx54yBZkSkv33f9Zrp7w_pTSarh0cuokXUYEakskNa 4jpl34geylwabktPiM92tEwfnp.mRfhNq8loIPfawK8XRRQeZr9VmNvXmq8l zDulTkO8doO7YorzTwunHvda32WD.Uh7YL9bnP2gB8ZU.THYN3yOQqnXZ17N F.HeUpRFdY_WRsqvuKUS3XQ_yw7NUd9zKyTXxgQGfDYS5ccRezyegf3A6IHL rh4Q1EqSCZLQaqWFtKPMsUftv3Bb4BZeTwZH0ePdBP0vG6M6iYHwHbGIZpwb tTipdujiRjQ_GAY0SYAGBMdjKQbEGyLCEXdhg X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.17.4] (ralf.mardorf@85.182.17.4 with login) by smtp141.mail.ukl.yahoo.com with SMTP; 20 Dec 2012 15:51:14 +0000 GMT Message-ID: <1356018674.3533.116.camel@q> Subject: Re: Upgrading FreeBSD 8.3 amd64 From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Thu, 20 Dec 2012 16:51:14 +0100 In-Reply-To: <20121220052908.e1120684.freebsd@edvax.de> References: <1355852561.2501.10.camel@q> <20121218185757.f10640e0.freebsd@edvax.de> <1355933062.2501.19.camel@q> <1355936956.2501.72.camel@q> <20121220091216.40d1644b@X220.ovitrap.com> <1355976819.2501.368.camel@q> <20121220052908.e1120684.freebsd@edvax.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 15:51:22 -0000 On Thu, 2012-12-20 at 05:29 +0100, Polytropon wrote: > I'd say: Use the source Luke. :-) :) Strange question: Is the FreeBSD handbook available as iBook? At the moment I've got plenty of time, unfortunately not in front of my desktop computer. Some time ago I won an iPad2, it's a dust catcher, nice hardware, but odd software. I wonder if its possible to use it as a reader. The problem is, that I can't connect the iPad to the Internet and using iTunes (a disgusting application) in a virtual machine until now I'm only able to use iBooks, but I don't know how to transmit plain txt, pdf, html or what ever from the PC to the iPad. If somebody should know how I can get the FreeBSD handbook on my iPad that would be a help, so I could spend more time in reading how to handle FreeBSD. On VirtualBox (it doesn't work with wine) I run Win XP + iTunes and I connect the PC and iPad by USB. No jailbreake, but if it would help I would jailbraeke it. I tried to set up Linux to do ad-hoc by an USB WiFi stick, but it never worked. It would be nice to run Linux or FreeBSD on the iPad ;). Regards, Ralf From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 15:52:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3DCEC14; Thu, 20 Dec 2012 15:52:56 +0000 (UTC) (envelope-from prvs=6943a1acf=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id 7CB1B8FC0A; Thu, 20 Dec 2012 15:52:56 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiEJAH0z01CBbgog/2dsb2JhbABEhXOnFI9kBASBEYMRAQEFOAI/EAsOCi4hNgYTiAEDD69gDYlVi2lpg2JhA4hii1OLI4FqhRGDEw X-IronPort-AV: E=Sophos;i="4.84,324,1355119200"; d="scan'208";a="113003935" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Dec 2012 09:52:53 -0600 Date: Thu, 20 Dec 2012 09:52:40 -0600 From: Paul Schmehl To: Chris Rees Subject: Re: Can't get start_precmd to do *anything* Message-ID: <115C0C0F4DD90DC63564C457@localhost> In-Reply-To: References: <66E78C5BBEC1BC01C9A7E292@localhost> X-Mailer: Mulberry/4.1.0a1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=683 Cc: FreeBSD RC List , FreeBSD Questions List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 15:52:56 -0000 --On December 19, 2012 11:07:27 PM +0000 Chris Rees wrote: >> >> Here's the current invocation: >> >> start_precmd="pads_agent_ck4fifo()" > > Lose the parentheses in the above line (this isn't C :) ) Well, doh! I'll figure out how to read some day. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 15:57:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED5FDDA6 for ; Thu, 20 Dec 2012 15:57:40 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-qa0-f43.google.com (mail-qa0-f43.google.com [209.85.216.43]) by mx1.freebsd.org (Postfix) with ESMTP id 9652C8FC12 for ; Thu, 20 Dec 2012 15:57:40 +0000 (UTC) Received: by mail-qa0-f43.google.com with SMTP id cr7so5411587qab.16 for ; Thu, 20 Dec 2012 07:57:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:mime-version:content-type:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=bb8y8GX8SWlfznM4tTlhlfHpgiX7HlK7EmhxqArrqtg=; b=csokq/pW1gKHD1T/h5xJpuHxewnI+Gkl6nR4fQs80zhVuL1ka1SVHfQ8o2tvPWrQjh lgFq9WqdVtNI8PEi0hoej1gpS9g1FhYDTtuSeCdsIjpbN2qHlkGAkdHaTV1T+yEu2dtI Wz9QCsbh6ex40sKA6ux/m3oIMSQPm2DMZV0KN4rnTfHUCF1L1Azpxqwx3gWt4vmj5/PO MsUyOvo7QZ8QhcTAbHuHwnO4xLTJ87BWN9046peema1F7K1h/c9Hjty81hxCaw5JrrMY wo5j9mxmIBf2DTbE5ocT1gfjHMid4UfEVBPgkUudTTnti9kpqgQ20NFe6tem5gCJLqtI rjDQ== X-Received: by 10.49.127.238 with SMTP id nj14mr5746317qeb.9.1356019054706; Thu, 20 Dec 2012 07:57:34 -0800 (PST) Received: from mini1.kraus-haus.org ([96.236.21.119]) by mx.google.com with ESMTPS id fl1sm2240724qab.14.2012.12.20.07.57.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Dec 2012 07:57:33 -0800 (PST) Subject: Re: Upgrading FreeBSD 8.3 amd64 Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Paul Kraus In-Reply-To: <1356018674.3533.116.camel@q> Date: Thu, 20 Dec 2012 10:57:31 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <9A9CF2EC-1A35-4D73-9B41-0C1359F2A197@kraus-haus.org> References: <1355852561.2501.10.camel@q> <20121218185757.f10640e0.freebsd@edvax.de> <1355933062.2501.19.camel@q> <1355936956.2501.72.camel@q> <20121220091216.40d1644b@X220.ovitrap.com> <1355976819.2501.368.camel@q> <20121220052908.e1120684.freebsd@edvax.de> <1356018674.3533.116.camel@q> To: Ralf Mardorf X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQkoTp9FHWN57HT8jypPI1NajZ7+1AawfwtIudJ9XsWqUhFhNc+iF8Gg2XxO1jd3UQDNhgbO Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 15:57:41 -0000 On Dec 20, 2012, at 10:51 AM, Ralf Mardorf wrote: > On Thu, 2012-12-20 at 05:29 +0100, Polytropon wrote: >> I'd say: Use the source Luke. :-) >=20 > :) >=20 > Strange question: Is the FreeBSD handbook available as iBook? You can get it as a PDF at = ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/ = and you can then view that on your iPad. Look for the Bookshelf or some = such, I use an iPod Touch and while similar, they are not identical to = the iPad. -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 16:10:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC3E9FD2 for ; Thu, 20 Dec 2012 16:10:44 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm20.bullet.mail.ird.yahoo.com (nm20.bullet.mail.ird.yahoo.com [77.238.189.77]) by mx1.freebsd.org (Postfix) with ESMTP id E1EE98FC0C for ; Thu, 20 Dec 2012 16:10:43 +0000 (UTC) Received: from [77.238.189.55] by nm20.bullet.mail.ird.yahoo.com with NNFMP; 20 Dec 2012 16:10:37 -0000 Received: from [217.146.189.108] by tm8.bullet.mail.ird.yahoo.com with NNFMP; 20 Dec 2012 16:10:37 -0000 Received: from [127.0.0.1] by smtp124.mail.ird.yahoo.com with NNFMP; 20 Dec 2012 16:10:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1356019837; bh=tWAZ31qCoQAoHOqZYl7VMbIe1JNrGKu+5BXX6xLE5j4=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=uug86yDr1SB+0Z2HnZ9yzlhRK51UajSvNuy9dFOrukcJO8eX+yLtxpzcXtXtrufWEJQdz0FHb03wTG1DiAHeEzBQDDqIbLw5F8rJjgpc4mmILDNK93mHb/7AqNb4HBPUudztmbfB9MINcUqop/HPO2dBXYGJACaphAcXJCDCNyI= X-Yahoo-Newman-Id: 140886.81774.bm@smtp124.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: a3_RrR0VM1mKERMyHic3SZWIh9gWnIIORoup1xmWpq5ezY_ 374xgCg5k_YZJhQer2g5AIpyh3RelJNsY3U4sw6d59178hC40KyJ8Gte1S8B uYv2udzCA1PDCbrUteAvd9gryuuaHpkwBPlVt5rsONPifKFNsSwuZ8MekjtV alPHDQLhYQXXvp_tkWr24_E3vRSFY2CFvM9RmHcoCwSrPbOs_tZrYPCcnkJE 912oTBEe84OwHOBxieaD5qaUP0I2a5.XF_c8Jr_sOq3pmbNfC2D6JjRhGUEK oBaNWFZHnhuaTLaeKiogC.GyQbpSnzhV63OVI5PoOrC1UM6B74o6uBw2skoV 6caDPdrZP.EWTNyvM_vFs58r0qRJCV7r1qBWFiEvtzsgvIGU6Zxdh9rMkf47 G7JwJvoZuRPsgcCOgLD73_2_.P5PFTkIkxA9TI_3udWS140F_xhodpjjX0RN g9msA_nauygfyMTcK3hmGEDpUGlUXmAEGFC_o8JIK51BzSu9VP9l6Qh1fl4Q usE7CCMg8CtgcGrEtUi6x.vHLnw-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.17.4] (ralf.mardorf@85.182.17.4 with login) by smtp124.mail.ird.yahoo.com with SMTP; 20 Dec 2012 08:10:37 -0800 PST Message-ID: <1356019836.3533.133.camel@q> Subject: Re: Upgrading FreeBSD 8.3 amd64 From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Thu, 20 Dec 2012 17:10:36 +0100 In-Reply-To: <20121220155208.0e45f33c@X220.ovitrap.com> References: <1355852561.2501.10.camel@q> <20121218185757.f10640e0.freebsd@edvax.de> <1355933062.2501.19.camel@q> <1355936956.2501.72.camel@q> <20121220091216.40d1644b@X220.ovitrap.com> <1355976819.2501.368.camel@q> <20121220155208.0e45f33c@X220.ovitrap.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 16:10:44 -0000 On Thu, 2012-12-20 at 15:52 +0700, Erich Dollansky wrote: > > The author of the snd_hdspe driver for FreeBSD seems to need testers. > > I never have heard of this driver. It's a new driver for FreeBSD for some cards of the vendor RME, AFAIK they only sell really professional audio cards, used for broadcasting and by professional audio studios. I never heard of professional audio studios using FreeBSD, so it's very likely that FreeBSD users seldom spend that much money for cards, that ship with all kinds of audio interfaces, that aren't needed for averaged audio usage. I was a professional audio and video engineer, but for my home studio I only bought a relatively cheap RME card, the HDSPe AIO. http://www.rme-audio.de/en_products_hdspe_aio.php It comes with stereo AD/DA converters only, every elCheapo on-board audio device has got more AD/DA IOs. Costs around 500,- EUR / 650,- USD. Other RME gear is much more expensive. Regards, Ralf From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 18:10:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 21384594; Thu, 20 Dec 2012 18:10:28 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id C30EA8FC15; Thu, 20 Dec 2012 18:10:27 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa02.fnfis.com (8.14.5/8.14.5) with ESMTP id qBKIAQ1S009434 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 20 Dec 2012 12:10:26 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.2.309.2; Thu, 20 Dec 2012 12:10:25 -0600 Subject: Re: about unattended installation MIME-Version: 1.0 (Apple Message framework v1283) From: Devin Teske In-Reply-To: <01CDE828-3BA6-48E5-8FA2-F06082A0B582@ramattack.net> Date: Thu, 20 Dec 2012 10:10:23 -0800 Message-ID: References: <40FD5C3B-CF8B-4376-BA6B-9F90747CFFAF@ramattack.net> <7FFE45C4-2001-46CF-AAE3-D1DF7B6EC9DE@fisglobal.com> <01CDE828-3BA6-48E5-8FA2-F06082A0B582@ramattack.net> To: Egoitz Aurrekoetxea Aurre X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2012-12-20_06:2012-12-20,2012-12-20,1970-01-01 signatures=0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Devin Teske , FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 18:10:28 -0000 On Dec 20, 2012, at 3:34 AM, Egoitz Aurrekoetxea Aurre wrote: > Good morning, >=20 >=20 > El 19/12/2012, a las 19:59, Devin Teske escri= bi=F3: >=20 >>=20 >> On Dec 19, 2012, at 10:06 AM, Egoitz Aurrekoetxea Aurre wrote: >>=20 >>> Good afternoon, >>>=20 >>> One little question=85 I'm trying to have ready our new unattended Free= BSD installation system. Until now, I have been using Sysinstall scripting = file but now with 9.1 out I think it's moment to start using BSDInstaller i= n the unattended installation process. >>=20 >> Hold on a moment. You might want to wait until 9.2. (read more below) >>=20 >=20 >=20 > Well in the ftp can be seen :=20 >=20 > FreeBSD-9.1-RELEASE-amd64-disc1.iso downloadable file=85. so I assume it'= s a release??? >=20 Of course it's a release=85 it just may not be the release that solves your= problem w/respect to scripting bsdinstall like sysinstall. That will come = in a future release (like 9.2). >=20 >=20 >=20 >>=20 >>=20 >>> I have seen the new installer, works basically like an script=85. my re= al question is=85 before I did in install.cfg something like :=20 >>>=20 >>> ################################ >>> disk=3Dda0 >>> partition=3Dall >>> bootManager=3Dstandard >>> diskPartitionEditor >>>=20 >>> ################################ >>>=20 >>> da0s1-1=3Dufs 3072000 / >>> da0s1-2=3Dswap 8096000 none >>> da0s1-3=3Dufs 20485760 /var 1 >>> da0s1-4=3Dufs 30720760 /usr 1 >>> da0s1-5=3Dufs 0 /expert 1 >>> diskLabelEditor >>>=20 >>> ################################ >>>=20 >>> Now I assume there's no way of getting this same through any command li= ke=85 'bsdinstall partedit _______________________' am I wrong??. >>=20 >> You're correct. In 9.0 and 9.1, it's just not feasible to man-handle the= user interface (partedit) as one could sysinstall. (read below about 9.2) >>=20 >>=20 >=20 > So I suppose that till the new installer is able to handle this in a simi= lar way to sysinstall (although the syntax to be different or whatever)=85.= or partitioning can be achieved in some non interactive way, to maintain t= he possibility of rebuilding one's own release in order to be able to use s= ysinstall and to be able to maintain working unattended installation system= s=85. because this is essential for some of us=85.. and of course sysinstal= l to still continue working :)=85 >=20 You got it. This is a sign to the releng team and everybody else that 10.0 should most-= likely not see the light of day until bsdinstall can pass the sniff-test fo= r those of us (like you and I) which rely on the ability to script the inst= allation process fully. >=20 >>=20 >>> So I assume all should be done by hand like this example of the Handboo= k :=20 >>>=20 >>> # dd if=3D/dev/zero of=3D/dev/da1 bs=3D1k count=3D1 >>> # fdisk -BI da1 #Initialize your new disk >>> # bsdlabel -B -w da1s1 auto #Label it. >>> # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partit= ions. >>> # mkdir -p /1 >>> # newfs /dev/da1s1e # Repeat this for every partition you created. >>> # mount /dev/da1s1e /1 # Mount the partition(s) >>> # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. >>>=20 >>> In the auto script=85. >>>=20 >>> am I wrong?. If the answer is yes=85 could you point me to some docume= ntation in order to be able to complete all this doc. >>=20 >> The answer is (unfortunately) yes=85 that is until (hopefully) 9.2. >>=20 >> It's an on-going significant amount of work to make add backward compati= bility (so bsdinstall can load sysinstall "install.cfg" files). I'm not goi= ng to discuss the specifics here or yet, but I'm actively working on it. >>=20 >> No docs on how to mangle the auto script to do what you want (that I kno= w of). >=20 > Ok then :) >=20 >=20 >>=20 >>=20 >>=20 >>> Apart from all this=85 is Sysinstall going to be maintained in parallel= ?. >>>=20 >>=20 >> Sysinstall is dead. >=20 > Devin, sysinstall should not be died till the new installer allows or exi= sts a way of doing same thing than before we did in some manner or other on= e=85.. And, you're absolutely right. Some facts/history: a. I'm not the one that killed it (on the contrary, like yourself, I was ve= hemently arguing against its death -- like you say, UNTIL whatever replacem= ent could offer the same features). ASIDE: You can see my arguing the same points your making now at the below = link to the mailing-list archives: http://lists.freebsd.org/pipermail/freebsd-sysinstall/2011-February/000369.= html ASIDE: There's a lot of arguments for keeping sysinstall in the above-linke= d mailing-list, but at the end of the day, we have to realize that sysinsta= ll was not being worked on to provide the features that the angry mob of us= ers was demanding (GPT, ZFS, Geli, etc.) so the 15-year inertia that sysins= tall enjoyed had to be ended. There will be people like yourself and me tha= t disagree with the timeline of events that led to the demise of sysinstall= in the 10.0-CURRENT line, but all I can say is that there is Ron McDowell = (may he rest in peace) vehemently recognized the short-coming and dedicated= our lives to filling it (and for Ron, actually the final year of his life = was spent working on this project -- a truly selfless act if there ever was= one). b. It's officially dead in the 10.0-CURRENT line (read: not released yet). = So you don't have anything to worry about *until* 10.0-RELEASE (whenever th= at is; I'm advocating within the community that -- because of this very sit= uation with the installer -- that 10.0 not be released until late 2013 at t= he *minimum*, but 2014-or-later would be better for me and my timeline). > because else=85 don't know... can this commands be translated to gpart fo= r example??=85 and to act in a non interactive way??. But apart from the ow= n gpart the are later other parts of the installation which should be done = too=85 like selecting which distributions to install in a non interactive w= ay for example=85.. if that is not possible to be done=85 in a non interact= ive way=85. sysinstall should not disappear=85. >=20 >=20 >> The bsdinstall you know can be considered the "first generation" and acc= ordingly is a bit spartan. I'm working hard on the next generation. My plan= is to have 10.0 with bsdinstall able to run sysinstall scripts (for backwa= rd compatibility; can't yet say what 9.x release will be MFC'd to, but that= could be 9.2). >>=20 >> I'm planning one helluva BSDCan-2013 presentation. >> --=20 >> Devin >>=20 >=20 >=20 > Thanks a lot for all !! >=20 No problem. You hit home with a lot of this stuff. I have the same feelings= as you w/resect to sysinstall versus bsdinstall. I'm doing my best to get = us across the finish line. For now, people that prefer sysinstall can use my FreeBSD Druid pre-built i= nstall media: For 9.0: http://sourceforge.net/projects/druidbsd/files/FreeBSD-9.0_Druid-1.0b60.iso= /download For 8.3: http://sourceforge.net/projects/druidbsd/files/FreeBSD-8.3_Druid-1.0b60.iso= /download As for 10.0 (when it comes out), expect bsdinstall to surpass sysinstall (i= n many many great ways) in every way (unlike the current status in 9.x). --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 06:35:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 269243D2 for ; Fri, 21 Dec 2012 06:35:28 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm1-vm0.bullet.mail.ird.yahoo.com (nm1-vm0.bullet.mail.ird.yahoo.com [77.238.189.95]) by mx1.freebsd.org (Postfix) with ESMTP id 56BE88FC0C for ; Fri, 21 Dec 2012 06:35:26 +0000 (UTC) Received: from [77.238.189.49] by nm1.bullet.mail.ird.yahoo.com with NNFMP; 21 Dec 2012 06:35:19 -0000 Received: from [217.146.188.168] by tm2.bullet.mail.ird.yahoo.com with NNFMP; 21 Dec 2012 06:35:19 -0000 Received: from [127.0.0.1] by smtp136.mail.ird.yahoo.com with NNFMP; 21 Dec 2012 06:35:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1356071719; bh=c5zD8w6KY/qFGFk5Tl/EKGHt73VLMJMCcOR1+ndYIgI=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=C9gq6faFa7aG0h/2W/ZJE0i2DO2BAnhWmDqr+Udyih3R9NO9n2G0ElQhpMaH/ZZ6qLU2ocnvSUjygnNU+Jk/Sj513KUyCvyiXCqklAFiUU57KpY+0o3C7MYUobyR4dKQBtOKA7YSM5uwV7/Z5ouY6J/0jCSgr345ZATCd2HKZg8= X-Yahoo-Newman-Id: 710637.64677.bm@smtp136.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: hs3tJnsVM1lWZ3Bv8JMC2PFpQCB8fOXNTDXPMYcumLTzHEs AAEQZiUYSOE6lIldN9FaCr4zMqQrKi6f.FMwZ_2FZdpXIqfxprTZJSSA2L2D N7BiSFesFNL0MejIU.Kb3BdSQ89FftOYs8aKFfC4vE0iCahL9PBzeoYYRBY8 N0xnTI_IGTIuWiTPPXKsqGQzeUVcwqVezn4B0KgIn7HlKnMqvl5buEwp4jgc LGCLfYkyzFxi0SNR0rio.pzoIl.HFLyGgkX5_4jfZAjYIzZQ1FGZlprNDtPR 9ZCIM4b2f.1Wnf9uWugNJe_PMX4WSluDlJQIixQiY2mySnsOzoAMhUwBcXao o36jIf.UOLwOW614ILRmz3Doos26IqrU4mgBjnaNm6Cf3Gd.HLG.sNHdwmqc iPNdVRGMmRB5Sb05l12_qDsckMiwQmLa.l0jVa8sADFIvJDfl.Ze8X1mTvDw pktI6HIwZ.H6Hph.UklvT_6eIRWI.xl.mh0tDgEsxKHou0zC1SvfaIGs5Z6W .543R4VGWqsg1jHCXaPB5i3H58ppDVzmzErbtrQ-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.17.4] (ralf.mardorf@85.182.17.4 with login) by smtp136.mail.ird.yahoo.com with SMTP; 20 Dec 2012 22:35:19 -0800 PST Message-ID: <1356071719.9844.60.camel@q> Subject: Re: Upgrading FreeBSD 8.3 amd64 From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Fri, 21 Dec 2012 07:35:19 +0100 In-Reply-To: <9A9CF2EC-1A35-4D73-9B41-0C1359F2A197@kraus-haus.org> References: <1355852561.2501.10.camel@q> <20121218185757.f10640e0.freebsd@edvax.de> <1355933062.2501.19.camel@q> <1355936956.2501.72.camel@q> <20121220091216.40d1644b@X220.ovitrap.com> <1355976819.2501.368.camel@q> <20121220052908.e1120684.freebsd@edvax.de> <1356018674.3533.116.camel@q> <9A9CF2EC-1A35-4D73-9B41-0C1359F2A197@kraus-haus.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 06:35:28 -0000 On Thu, 2012-12-20 at 10:57 -0500, Paul Kraus wrote: > On Dec 20, 2012, at 10:51 AM, Ralf Mardorf wrote: > > > On Thu, 2012-12-20 at 05:29 +0100, Polytropon wrote: > >> I'd say: Use the source Luke. :-) > > > > :) > > > > Strange question: Is the FreeBSD handbook available as iBook? > > You can get it as a PDF at > ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/ > and you can then view that on your iPad. Look for the Bookshelf or > some such, I use an iPod Touch and while similar, they are not > identical to the iPad. ftp://ftp.freebsd.org/pub/FreeBSD/doc/de/books/handbook/book.pdf.bz2 ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/book.pdf.bz2 iBookshelf Lite 2.12.4 has got a file sharing option, so I added the above extracted archives by renamed PDFs (FreeBSD Handbook de.pdf, FreeBSD Handbook en.pdf), but after sync they still are not available. I renamed the files (bsdde.pdf, bsden.pdf), added them and synced again, but they are still not available. The PDFs can be opened by Linux. VBox, resp. iTunes has got access to the files and sync between VBox and the iPad does work for other data. However, it's OT for this list. Anyway, thank you :) Ralf From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 06:50:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 27784672 for ; Fri, 21 Dec 2012 06:50:24 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com [209.85.214.176]) by mx1.freebsd.org (Postfix) with ESMTP id DC42E8FC0A for ; Fri, 21 Dec 2012 06:50:23 +0000 (UTC) Received: by mail-ob0-f176.google.com with SMTP id un3so4194602obb.35 for ; Thu, 20 Dec 2012 22:50:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=GSBYbL+QUhPHIK4/FruIbpj1a6zKGL9HfyuTZdlWu9s=; b=kuyDknNmUuP7Sextm8nsq+JWhikqiJVA9yrcz44K3cOadbt2bKVRtEbiwmhjqysNd8 w4C2q7d3qvhKZBRH7w6lyz0Qd4O0iOhdKs0/WTnm7C4ZEvhjRQHJfRy6rMl77R18/53S uFtYjL2W1rlQgrDWdMjfbybS+6D7kb7hJJNGnGJiVUoOyUSnDZHlAMCzcKnVSAceFpSc Ojih4ge99LbkSdpO+aRWbCM1srZNRkLAxUU0T+V/d7EjNgupxPv9rh05j0JnRhUkryhg IvhhMjDbdmge0tui9aCCobDPfEehcGrEfPfyITLmHNIjbVat6bMiOM1aCRaCl8lfMpla gHBQ== MIME-Version: 1.0 Received: by 10.182.174.34 with SMTP id bp2mr10197221obc.16.1356072623261; Thu, 20 Dec 2012 22:50:23 -0800 (PST) Received: by 10.76.86.233 with HTTP; Thu, 20 Dec 2012 22:50:23 -0800 (PST) Date: Fri, 21 Dec 2012 01:50:23 -0500 Message-ID: Subject: about unattended installation From: grarpamp To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 06:50:24 -0000 Though I do have a need for completely unattended and/or network installs, I don't have a need to continue with sysinstall.cfg. Whatever is done, be sure not to hobble any new installer out of some perceived need to be backwards compatible, or invest much time in being so. Writing and using a config isn't that hard. Since drives tend to be shuffled about, keying different configs off MAC address from shell has been nice. A MAC primitive in the config vs. old ifconfig could be handy. As might any smbios serial options. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 07:32:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB93AD6E for ; Fri, 21 Dec 2012 07:32:34 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm7-vm0.bullet.mail.ird.yahoo.com (nm7-vm0.bullet.mail.ird.yahoo.com [77.238.189.222]) by mx1.freebsd.org (Postfix) with ESMTP id 20FA58FC12 for ; Fri, 21 Dec 2012 07:32:33 +0000 (UTC) Received: from [77.238.189.230] by nm7.bullet.mail.ird.yahoo.com with NNFMP; 21 Dec 2012 07:32:27 -0000 Received: from [217.146.189.110] by tm11.bullet.mail.ird.yahoo.com with NNFMP; 21 Dec 2012 07:32:27 -0000 Received: from [127.0.0.1] by smtp126.mail.ird.yahoo.com with NNFMP; 21 Dec 2012 07:32:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1356075147; bh=Va/D1K4G/kZe1rN6GM71wk0KXmT4307Htu2x11SQvgw=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=2KoD31G26oN32YyIl3nBRCAytuWLiCuTiwuN7R4UpTtfqv0NBFQgP2SUgzc8gTYWFFuxevpkKXsqxjegzeCxKUcZPSE+nnyNon8EnU+c8JoH5MnRUKepvyjXkyvQT6SuKh6MzG0OaVc3rw4fxcBEnJ3lBtIiPnErtmj9SeBl+bg= X-Yahoo-Newman-Id: 549915.82422.bm@smtp126.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 141DEDcVM1lH9A4._VI_kNF2_XJ4_jmSmiX.3WhjDExKaS5 Yzw7fayLbMIrvJheTRhDRuDQ0NG_wy5EEILIWrH0xmw8pi9d4Mh7J7gmQQYd 0dUE9r.Zjr4eqieddoICRPdw5NeKp9.iohmZCx8LSxmxQpY78HDbT3gBtsAu MnwKAFVmnjysOyiugt5zs_9RD2mJnmvrjvflMC93siHfvKfYxl7HcatfmYP3 DGosx9ui7uYe7lA.GWFKu81KOf4rugU9fhxcD9hkwjCCxmY5V7FXXJ8hwXzr 1GJbETn3N1FphdK.iSnFZBA5yVomYDgH9Ch.6wDwvH7sk0uqpOCyY939vTIZ FgTPrjCf98iH5X0xddOXvSgFMLwqJUqSa2nfCNTggBmujGZ0PLXneYgmpCZO effY87ZdUCLYvGZYU4le1MxV5KGjT4N68JNR.1CWVY5RneEBRoy7KOV9xvwc rFvZXGKUScv8luepzpegR5vld8Hpa3SVDhh8kuS10dexs_a8xoDOGN.2H0R. KXWVabPGV_GYPATk6Kem9i2CTBlGwwprXLKmr3Q-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.17.4] (ralf.mardorf@85.182.17.4 with login) by smtp126.mail.ird.yahoo.com with SMTP; 20 Dec 2012 23:32:27 -0800 PST Message-ID: <1356075147.9844.74.camel@q> Subject: Re: Upgrading FreeBSD 8.3 amd64 From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Fri, 21 Dec 2012 08:32:27 +0100 In-Reply-To: <1356071719.9844.60.camel@q> References: <1355852561.2501.10.camel@q> <20121218185757.f10640e0.freebsd@edvax.de> <1355933062.2501.19.camel@q> <1355936956.2501.72.camel@q> <20121220091216.40d1644b@X220.ovitrap.com> <1355976819.2501.368.camel@q> <20121220052908.e1120684.freebsd@edvax.de> <1356018674.3533.116.camel@q> <9A9CF2EC-1A35-4D73-9B41-0C1359F2A197@kraus-haus.org> <1356071719.9844.60.camel@q> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 07:32:34 -0000 On Fri, 2012-12-21 at 07:35 +0100, Ralf Mardorf wrote: > On Thu, 2012-12-20 at 10:57 -0500, Paul Kraus wrote: > > On Dec 20, 2012, at 10:51 AM, Ralf Mardorf wrote: > > > > > On Thu, 2012-12-20 at 05:29 +0100, Polytropon wrote: > > >> I'd say: Use the source Luke. :-) > > > > > > :) > > > > > > Strange question: Is the FreeBSD handbook available as iBook? > > > > You can get it as a PDF at > > ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/ > > and you can then view that on your iPad. Look for the Bookshelf or > > some such, I use an iPod Touch and while similar, they are not > > identical to the iPad. > > ftp://ftp.freebsd.org/pub/FreeBSD/doc/de/books/handbook/book.pdf.bz2 > ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/book.pdf.bz2 > > iBookshelf Lite 2.12.4 has got a file sharing option, so I added the > above extracted archives by renamed PDFs (FreeBSD Handbook de.pdf, > FreeBSD Handbook en.pdf), but after sync they still are not available. > > I renamed the files (bsdde.pdf, bsden.pdf), added them and synced again, > but they are still not available. > > The PDFs can be opened by Linux. VBox, resp. iTunes has got access to > the files and sync between VBox and the iPad does work for other data. > > However, it's OT for this list. > > Anyway, thank you :) > Ralf PS: I installed two other gratis apps. Offline Reader ! 2.0 and PDF Reader Lite 1.2.3, the first app seems to be useless and when I downloaded it, I was asked if I'm >= 17 years old :D, but the second app does receive and display the handbooks named bsdde.pdf, bsden.pdf :) Regards, Ralf From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 10:08:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56BF7986 for ; Fri, 21 Dec 2012 10:08:56 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id 1A3EE8FC0C for ; Fri, 21 Dec 2012 10:08:55 +0000 (UTC) Received: from mr129166.localdomain (mr129166.cri.univ-rennes1.fr [129.20.129.166]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 52896A1F1 for ; Fri, 21 Dec 2012 11:08:48 +0100 (CET) Received: from mr129166 (localhost [127.0.0.1]) by mr129166.localdomain (Postfix) with ESMTP id 9DCB27099 for ; Fri, 21 Dec 2012 11:08:47 +0100 (CET) Date: Fri, 21 Dec 2012 11:08:47 +0100 From: Patrick Lamaiziere To: freebsd-questions@freebsd.org Subject: no more localhost name ? Message-ID: <20121221110847.3f08a34e@mr129166> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 10:08:56 -0000 Hello, (fresh 9.1-STABLE/amd64) Here localhost or 127.0.0.1 is not resolved anymore. I can see twith tcpdump hat a DNS request is sent to dns server. This is something new because a test case used to test name resolution on a home made application now fails. $ host localhost Host localhost not found: 3(NXDOMAIN) $ host 127.0.0.1 Host 1.0.0.127.in-addr.arpa. not found: 3(NXDOMAIN) The box uses dhclient. /etc/hosts ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain /etc/resolv.conf # Generated by resolvconf search univ-rennes1.fr nameserver 129.20.128.2 nameserver 129.20.128.39 nameserver 129.20.128.49 /etc/nsswitch.conf group: compat group_compat: nis hosts: files dns networks: files passwd: compat passwd_compat: nis shells: files services: compat services_compat: nis protocols: files rpc: files The configuration looks good... Any idea? Thanks regards. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 12:49:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 18F1CB76 for ; Fri, 21 Dec 2012 12:49:41 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com [209.85.215.53]) by mx1.freebsd.org (Postfix) with ESMTP id 8536E8FC15 for ; Fri, 21 Dec 2012 12:49:40 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id w12so4917511lag.40 for ; Fri, 21 Dec 2012 04:49:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=zHSlqXDHDELwlV5SHWTUiKdOfouHGoHNczwbPIAQotk=; b=wG7Y+9OHr37TF4nXDJSyl9I2oLTGKLWFwxnFJupTzwlHuZi4BfG6pCC0yWxTtfxotl 7nbQrQ5AavxeXqVCvX2IYt77VcC7BomMUIZ4W7lK5tTYWvPsj0ngPMXvYf78AQaN/n+t mBBQLBM2QukI/CHM3aJwzTG4GwjK/kdOjrev50ypSVGpbrGbv3FFYKLtkpktv2S132yK ckl8pwmuSeQBD3WMsL/8lntoav5B92Jp9u3L4wmzYt06IlBj5OvvZcp3RRlzvAcZ7K1r oAEGguKzd6z/Wt/sAy1H64awFRna0Mb1+e+TegM055DeOiukVUGAEHF/HDMMnfCO/5LG OlZA== MIME-Version: 1.0 Received: by 10.112.13.193 with SMTP id j1mr5357271lbc.116.1356094179141; Fri, 21 Dec 2012 04:49:39 -0800 (PST) Received: by 10.112.21.228 with HTTP; Fri, 21 Dec 2012 04:49:39 -0800 (PST) Date: Fri, 21 Dec 2012 22:49:39 +1000 Message-ID: Subject: new backup server file system options From: yudi v To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 12:49:41 -0000 Hi all, I am building a new freebsd fileserver to use for backups, will be using 2 disk raid mirroring in a HP microserver n40l. I have gone through some of the documentation and would like to know what file systems to choose. According to the docs, ufs is suggested for the system partitions but someone on the freebsd irc channel suggested using zfs for the rootfs as well Are there any disadvantages of using zfs for the whole system rather than going with ufs for the system files and zfs for the user data? -- Kind regards, Yudi From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 13:37:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77E6B1BA for ; Fri, 21 Dec 2012 13:37: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 5BE428FC13 for ; Fri, 21 Dec 2012 13:37:01 +0000 (UTC) Received: from [10.0.10.3] ([173.88.197.103]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 21 Dec 2012 05:36:57 -0800 Message-ID: <50D465F7.1070408@a1poweruser.com> Date: Fri, 21 Dec 2012 08:36:55 -0500 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Subject: uname -r output values? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Dec 2012 13:36:57.0188 (UTC) FILETIME=[3F261240:01CDDF80] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 13:37:01 -0000 When issuing the uname -r command what are the different values possible to expect? So far I have this list. Where X.X = major release . Sub release numbers Where y = number 1 through 9 X.X-BETAy X.X-RCy X.X-RELEASE X.X-RELEASE-py X.X-PRERELEASE X.X-CURRENT From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 13:39:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F286A26C for ; Fri, 21 Dec 2012 13:39:29 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by mx1.freebsd.org (Postfix) with ESMTP id 741AE8FC0A for ; Fri, 21 Dec 2012 13:39:28 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id dt10so2120248wgb.27 for ; Fri, 21 Dec 2012 05:39:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=EUGf/Gz+gqHotM313WjmVnSQqoW9YnEN3zh/Kn9G+9c=; b=PUANJ+U4hRlE7URO5gJx5vMB/UetFzGPa/rEYcA9lUnG3rb/e7z5Qzaf9zt6QMa9JE V/FQe3sho4YuHwBXzklXksOZDOVdTS67gRU9WedkWyco+AYplMOVD7AlUwpPztwbNop4 QZYPArofdvIiXoHgXdMRyjz5jn2JWHuEDVM6DEY2/1yJPTEo1oi5lRonLKQMo/xlelg3 fmb1LM1I989bCEgpUIMuJUhUHR6UNpblaawpFNJjXRWf6Qfo3SYhlHu/Nd22b8Hmyayu l709gViLZdxCPEQ+6yd6imv+14EHoILaqN+5liBV5pJF04NQPRcMAjrwMrxa1z0V7ldV 7DaA== X-Received: by 10.194.123.105 with SMTP id lz9mr23810098wjb.43.1356097161987; Fri, 21 Dec 2012 05:39:21 -0800 (PST) Received: from [192.168.1.124] (tui75-3-88-168-239-38.fbx.proxad.net. [88.168.239.38]) by mx.google.com with ESMTPS id l5sm18338673wia.10.2012.12.21.05.39.19 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Dec 2012 05:39:20 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: uname -r output values? From: Fleuriot Damien In-Reply-To: <50D465F7.1070408@a1poweruser.com> Date: Fri, 21 Dec 2012 14:39:20 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <50D465F7.1070408@a1poweruser.com> To: Fbsd8 X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQnsQalyfuGapiIKi5d+vtnv1tabJ0EtvvjWu/8q9IC9/99PmPqSt7tNcMu3JRRBxpsFMOx2 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 13:39:30 -0000 mybsd dam ~ $ uname -r 8.2-STABLE On Dec 21, 2012, at 2:36 PM, Fbsd8 wrote: > When issuing the uname -r command what are the different values = possible to expect? >=20 > So far I have this list. >=20 > Where X.X =3D major release . Sub release numbers > Where y =3D number 1 through 9 >=20 > X.X-BETAy > X.X-RCy > X.X-RELEASE > X.X-RELEASE-py > X.X-PRERELEASE > X.X-CURRENT > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 14:07:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0074280D for ; Fri, 21 Dec 2012 14:07:04 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-vb0-f48.google.com (mail-vb0-f48.google.com [209.85.212.48]) by mx1.freebsd.org (Postfix) with ESMTP id 96F9B8FC0C for ; Fri, 21 Dec 2012 14:07:04 +0000 (UTC) Received: by mail-vb0-f48.google.com with SMTP id fc21so5044978vbb.7 for ; Fri, 21 Dec 2012 06:07:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:mime-version:content-type:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=6vD9ScJy3jERzIUxwGaTe0vYLjmD3q/ZrwnrcGdgnzM=; b=JdQpAhcZsp6Z68PykUzaWSNwBVFA4j9lzr5iejElP1EO+hp4aolTAMApSVhzL/KmdQ t2g0tqNy2qGynKJA8Sy6XkTZdl8svUUV1BJLciclQRgUaNPWYwStSgyXsbzKJTizIS4/ 4FR73icJaJgynrT+ijNU/YcrDNUY67EFh5z3VsoLNw5CmLXhRD2Q/dd4gJ6i2k4wFCmH d+ZLsqx9aT3YThZTTWcMukF5trRP7O5YDRVE/gpXecfjal3av2d8NboQ1Oa7W3hQbMKM YTGyFeYsGc+e9Mgoh7h8BWqv2HK2VzVAjhZhAEmrrNywbFTrYpLhdBBGKOIlOaCuUKcX FOzg== X-Received: by 10.220.152.204 with SMTP id h12mr19801693vcw.66.1356098823505; Fri, 21 Dec 2012 06:07:03 -0800 (PST) Received: from mini1.kraus-haus.org ([96.236.21.119]) by mx.google.com with ESMTPS id ko19sm9252917veb.1.2012.12.21.06.07.01 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Dec 2012 06:07:02 -0800 (PST) Subject: ZFS info WAS: new backup server file system options Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Paul Kraus In-Reply-To: Date: Fri, 21 Dec 2012 09:06:59 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <282CDB05-5607-4315-8F37-3EEC289E83F5@kraus-haus.org> References: To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQkadsXEn/0y0f92QBYIk0uWd1nh9kXBtIdIEsdd3M/SSSivsr+rEIwOyO6nPIUppcQ6l0cr X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 14:07:05 -0000 On Dec 21, 2012, at 7:49 AM, yudi v wrote: > I am building a new freebsd fileserver to use for backups, will be = using 2 > disk raid mirroring in a HP microserver n40l. > I have gone through some of the documentation and would like to know = what > file systems to choose. >=20 > According to the docs, ufs is suggested for the system partitions but > someone on the freebsd irc channel suggested using zfs for the rootfs = as > well >=20 > Are there any disadvantages of using zfs for the whole system rather = than > going with ufs for the system files and zfs for the user data? First a disclaimer, I have been working with Solaris since 1995 = and managed lots of data under ZFS, I have only been working with = FreeBSD for about the past 6 months. UFS is clearly very stable and solid, but to get redundancy you = need to use a separate "volume manager". ZFS is a completely different way of thinking about managing = storage (not just a filesystem). I prefer ZFS for a number of reasons: 1) End to end data integrity through checksums. With the advent of 1 TB = plus drives, the uncorrectable error rate (typically 10^-14 or 10^-15) = means that over the life of any drive you *are* now likely to run into = uncorrectable errors. This means that traditional volume managers (which = rely on the drive reporting an bad reads and writes) cannot detect these = errors and bad data will be returned to the application. 2) Simplicity of management. Since the volume management and filesystem = layers have been combined, you don't have to manage each separately. 3) Flexibility of storage. Once you build a zpool, the filesystems that = reside on it share the storage of the entire zpool. This means you don't = have to decide how much space to commit to a given filesystem at = creation. It also means that all the filesystems residing in that one = zpool share the performance of all the drives in that zpool. 4) Specific to booting off of a ZFS, if you move drives around (as I = tend to do in at least one of my lab systems) the bootloader can still = find the root filesystem under ZFS as it refers to it by zfs device = name, not physical drive device name. Yes, you can tell the bootloader = where to find root if you move it, but zfs does that automatically. 5) Zero performance penalty snapshots. The only cost to snapshots is the = space necessary to hold the data. I have managed systems with over = 100,000 snapshots. I am running two production, one lab, and a bunch of VBox VMs = all with ZFS. The only issue I have seen is one I have also seen under = Solaris with ZFS. Certain kinds of hardware layer faults will cause the = zfs management tools (the zpool and zfs commands) to hang waiting on a = blocking I/O that will never return. The data continuos to be available, = you just can't manage the zfs infrastructure until the device issues are = cleared. For example, if you remove a USB drive that hosts a mounted = ZFS, then any attempt to manage that ZFS device will hang (zpool export = -f hangs until a reboot). Previously I had been running (at home) a fileserver under = OpenSolaris using ZFS and it saved my data when I had multiple drive = failures. At a certain client we had a 45 TB configuration built on top = of 120 750GB drives. We had multiple redundancy and could survive a = complete failure of 2 of the 5 disk enclosures (yes, we tested this in = pre-production). There are a number of good writeups on how setup a FreeBSD = system to boot off of ZFS, I like this one the best = http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE , but I do the = zpool/zfs configuration slightly differently (based on some hard learned = lessons on Solaris). I am writing up my configuration (and why I do it = this way), but it is not ready yet. Make sure you look at all the information here: = http://wiki.freebsd.org/ZFS , keeping in mind that lots of it was = written before FreeBSD 9. I would NOT use ZFS, especially for booting, = prior to release 9 of FreeBSD. Some of the reason for this is the bugs = that were fixed in zpool version 28 (included in release 9). -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 16:20:37 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19D647C1 for ; Fri, 21 Dec 2012 16:20:37 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by mx1.freebsd.org (Postfix) with ESMTP id 955248FC12 for ; Fri, 21 Dec 2012 16:20:36 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id hm11so5197671wib.8 for ; Fri, 21 Dec 2012 08:20:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=WpF1EjHlkBapzE/3zieVQgqGQ0buOR/Dz+y+Do4CL6o=; b=JgdKrffugYMHh2d7+XdsYTHqjcTJK3e2Kd/g6VQHDxEsH0/dnO3UPTFiUgswCxcQ2q wab8mFncE3MNilgsbHbegKZGRB2uH1uSQIBZ4gc98WQAoRhatJ+jxEXQh679AAuE/keR A52TdbEryJPqOvXnFZ2OKq9H53ZvOTqcoh9iecttPPDxB/b3D4DP9Urxky/wgCJF+bZC u6SEN9M8hsOQX3n9w1UW8vCBqNVmWa6JTGxv9YrRZST1c34xvvopY01avDWiwPeut3uQ QaIYPWOBJxbS+4zjjFjvNZJZvPerhEuyBvbcWe6HLH9woMvw6895ySvahneSu3cXUDHt H8Dw== MIME-Version: 1.0 Received: by 10.180.72.146 with SMTP id d18mr16407155wiv.33.1356106830159; Fri, 21 Dec 2012 08:20:30 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.217.57.9 with HTTP; Fri, 21 Dec 2012 08:20:29 -0800 (PST) In-Reply-To: <20121219233206.GA3920@dagobah.vindaloo.com> References: <20121219233206.GA3920@dagobah.vindaloo.com> Date: Fri, 21 Dec 2012 08:20:29 -0800 X-Google-Sender-Auth: cBrBQbtXpwdzfL59bZzgcWkp4yg Message-ID: Subject: Re: ath0 + wpa/wpa2 + apple airport extreme = no joy. From: Adrian Chadd To: Christopher Sean Hilton Content-Type: text/plain; charset=ISO-8859-1 Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 16:20:37 -0000 Hi, Please try -9 on your Soekris. :-) Adrian On 19 December 2012 15:32, Christopher Sean Hilton wrote: > I posted on a similar subject last year but in the end it turned out > to be irrelevant. I'm trying to get the combination of: > > a Soekris Net4511, > FreeBSD 8-STABLE from Dec 2011, > an Atheros AR5BMB-44 wifi interface (identified as AR5212 in dmesg), > an Apple Airport Extreme (about 2010 vintage) with WPA/WPA2 security, > > to all play nicely. To start with I plan to look at the change logs > for the wpa_supplicant suite to see if there were changes from last > December to now. I will probably just upgrade this box to a later > vintage of 8-STABLE. Still, hit me with a cluebat if this problem got > fixed between December, 2011 and now. > > Anyhow, no matter what I've done, the result is the same: > > The atheros/wlan combo associates to my wireless network; > > The dhcp client on the soekris sends a request to the dhcp > server. The dhcp server receives the negotiation and tries to > offer a lease but the soekris never receives a reply; > > I've confirmed this by running tcpdump on the dhcp server where I've > seen the requests arrive with the atheros' mac address and I've seen > the replies go back out of the dhcp server but either the atheros > isn't listening or the Airport Extreme isn't forwarding the traffic. I > haven't sniffed the wifi to see if the Airport Extreme just isn't > forwarding the reply or if the atheros isn't receiving it properly. > > I can convince this combination of hardware to work if I change the > network security on the airport extreme from WPA/WPA2 to None. > > The configuration that I feel should make the atheros work with the > Airport Extreme works just fine with my 2010 vintage Airport > Express. The Express and the Extreme are basically creating the same > network. The Extreme is on 2.4GHz channel 11, the Express on 2.4GHz 1. > The reason I have both so you are always near an access point. > > I can get the atheros to work with WPA2 on my Mifi 4082. > > As a new data point, the combination of an Intel 2200bg + WPA works > with the Airport Extreme. > > I've posted my configs after my signature if you want to look and I > can provide more information if you need it. > > My hope in posting this is to try and figure out what's up with the > atheros or the Airport Extreme that it isn't working in this > configuration. If anyone has an atheros card working with WPA/WPA2 and > an Apple Airport Extreme I'd love any assistance you'd be willing to > give me with the configuration. > > Thanks for any help you can provide. > > -- > > -- Chris > > ---------------------------------------------------------------------------- > "There will be an answer, Let it be." > e: chris -at- vindaloo -dot- com > > This is the hacked /etc/rc.conf to work with the Intel card: > > ... > wpa_supplicant_enable="YES" > ## wlans_ath0="wlan0" > wlans_iwi0="wlan0" > ifconfig_wlan0="WPA DHCP" > ... > > > Here's my abridged /etc/wpa_supplicant.conf: > > ctrl_interface=/var/run/wpa_supplicant > ctrl_interface_group=0 > > ## Airport Extreme > > network={ > ssid="FooBarBaz" > bssid=f8:1e:df:xx:xx:xx > psk="************" > proto=RSN > key_mgmt=WPA-PSK > pairwise=CCMP TKIP > group=CCMP TKIP > priority=12 > } > > ## Airport Express > > network={ > ssid="FooBarBaz" > bssid=00:1f:f3:xx:xx:xx > psk="************" > proto=RSN > key_mgmt=WPA-PSK > pairwise=CCMP TKIP > group=CCMP TKIP > priority=10 > } > > ## Mifi 4082 > > network={ > ssid="FooBarBaz-Mobile" > psk="************" > priority=0 > } > > Finally, here's the result of ifconfig on wlan0/iwi0 associated and > working with the Airport Extreme: > > ryloth chris $ ifconfig iwi0 > iwi0: flags=8843 metric 0 mtu 2290 > ether 00:15:00:xx:xx:xx > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > ryloth chris $ ifconfig wlan0 > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:15:00:xx:xx:xx > inet 10.59.145.87 netmask 0xfffffe00 broadcast 10.59.145.255 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > ssid FooBarBaz channel 11 (2462 MHz 11g) bssid f8:1e:df:xx:xx:xx > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > TKIP 3:128-bit txpower 0 bmiss 24 scanvalid 60 protmode CTS wme > roaming MANUAL > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 17:28:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 387D1E33 for ; Fri, 21 Dec 2012 17:28:56 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 8335B8FC13 for ; Fri, 21 Dec 2012 17:28:54 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id qBLHSkWu066629; Fri, 21 Dec 2012 17:28:47 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <50D49C4E.6060007@qeng-ho.org> Date: Fri, 21 Dec 2012 17:28:46 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Paul Kraus Subject: Re: ZFS info WAS: new backup server file system options References: <282CDB05-5607-4315-8F37-3EEC289E83F5@kraus-haus.org> In-Reply-To: <282CDB05-5607-4315-8F37-3EEC289E83F5@kraus-haus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: yudi.tux@gmail.com, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 17:28:56 -0000 On 12/21/12 14:06, Paul Kraus wrote: > On Dec 21, 2012, at 7:49 AM, yudi v wrote: > >> I am building a new freebsd fileserver to use for backups, will be using 2 >> disk raid mirroring in a HP microserver n40l. >> I have gone through some of the documentation and would like to know what >> file systems to choose. >> >> According to the docs, ufs is suggested for the system partitions but >> someone on the freebsd irc channel suggested using zfs for the rootfs as >> well >> >> Are there any disadvantages of using zfs for the whole system rather than >> going with ufs for the system files and zfs for the user data? > > First a disclaimer, I have been working with Solaris since 1995 and managed > lots of data under ZFS, I have only been working with FreeBSD for about the past > 6 months. > > UFS is clearly very stable and solid, but to get redundancy you need to use > a separate "volume manager". Slight correction here - you don't need a volume manager (as I understand the term), you'd use the GEOM subsystem, specifically gmirror in this case. See "man gmirror" for details > ZFS is a completely different way of thinking about managing storage (not > just a filesystem). I prefer ZFS for a number of reasons: > > 1) End to end data integrity through checksums. With the advent of 1 TB plus > drives, the uncorrectable error rate (typically 10^-14 or 10^-15) means that > over the life of any drive you *are* now likely to run into uncorrectable errors. > This means that traditional volume managers (which rely on the drive reporting an > bad reads and writes) cannot detect these errors and bad data will be returned to > the application. > > 2) Simplicity of management. Since the volume management and filesystem layers > have been combined, you don't have to manage each separately. > > 3) Flexibility of storage. Once you build a zpool, the filesystems that reside > on it share the storage of the entire zpool. This means you don't have to decide > how much space to commit to a given filesystem at creation. It also means that all > the filesystems residing in that one zpool share the performance of all the drives > in that zpool. > > 4) Specific to booting off of a ZFS, if you move drives around (as I tend to do in > at least one of my lab systems) the bootloader can still find the root filesystem > under ZFS as it refers to it by zfs device name, not physical drive device name. > Yes, you can tell the bootloader where to find root if you move it, but zfs does > that automatically. > > 5) Zero performance penalty snapshots. The only cost to snapshots is the space > necessary to hold the data. I have managed systems with over 100,000 snapshots. > > I am running two production, one lab, and a bunch of VBox VMs all with ZFS. > The only issue I have seen is one I have also seen under Solaris with ZFS. Certain > kinds of hardware layer faults will cause the zfs management tools (the zpool and > zfs commands) to hang waiting on a blocking I/O that will never return. The data > continuos to be available, you just can't manage the zfs infrastructure until the > device issues are cleared. For example, if you remove a USB drive that hosts a > mounted ZFS, then any attempt to manage that ZFS device will hang (zpool export > -f hangs until a reboot). > > Previously I had been running (at home) a fileserver under OpenSolaris using > ZFS and it saved my data when I had multiple drive failures. At a certain client > we had a 45 TB configuration built on top of 120 750GB drives. We had multiple > redundancy and could survive a complete failure of 2 of the 5 disk enclosures (yes, > we tested this in pre-production). > > There are a number of good writeups on how setup a FreeBSD system to boot off > of ZFS, I like this one the best > http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE , but I do the zpool/zfs > configuration slightly differently (based on some hard learned lessons on Solaris). > I am writing up my configuration (and why I do it this way), but it is not ready yet. > > Make sure you look at all the information here: http://wiki.freebsd.org/ZFS , > keeping in mind that lots of it was written before FreeBSD 9. I would NOT use ZFS, > especially for booting, prior to release 9 of FreeBSD. Some of the reason for this > is the bugs that were fixed in zpool version 28 (included in release 9). I would agree with all that. My current system uses UFS filesystems for the base install, and ZFS with a raidz zpool for everything else, but that's only because I started using ZFS in REL 8.0 when it was just out of experimental status, and I didn't want to risk having an unbootable system. (That last paragraph suggests I was wise in that decision.) My next machine I'm specing out now will be pure ZFS so I get the boot environment stuff. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 17:35:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D82FDF28 for ; Fri, 21 Dec 2012 17:35:40 +0000 (UTC) (envelope-from patrick_dkt@yahoo.com.hk) Received: from nm38-vm7.bullet.mail.sg3.yahoo.com (nm38-vm7.bullet.mail.sg3.yahoo.com [106.10.151.158]) by mx1.freebsd.org (Postfix) with ESMTP id 1E62A8FC12 for ; Fri, 21 Dec 2012 17:35:39 +0000 (UTC) Received: from [106.10.166.127] by nm38.bullet.mail.sg3.yahoo.com with NNFMP; 21 Dec 2012 17:35:38 -0000 Received: from [106.10.150.23] by tm16.bullet.mail.sg3.yahoo.com with NNFMP; 21 Dec 2012 17:35:38 -0000 Received: from [127.0.0.1] by omp1024.mail.sg3.yahoo.com with NNFMP; 21 Dec 2012 17:35:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 553348.70831.bm@omp1024.mail.sg3.yahoo.com Received: (qmail 2136 invoked by uid 60001); 21 Dec 2012 17:35:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.hk; s=s1024; t=1356111338; bh=0N6+rwoHCYqubOTzC/0p48oGQ2Mo/0lKvNFWzRBKxbI=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=TZwsyZr9oT18CJJMHQvNUUA5VT5nBbWIXt0fcWYRptlfRpD5JOKN+GfjBaV8IXdF4yMxua1PfEdJGWxx8PBBnomZjO4QpIbuPVbh92ReO4HLB44A76SmXGPUsNDO6Dd3WmZCqu0uUUe30SycJ60whqlIHFm54DYISoQPxpkWue4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.hk; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=lHFu+H81fvJDYkwZgGvz6aSuUpe9Y/2GHiZx50X60czJrhWw9/n/HqjoRW9J7lKfAvSjSMZ33HKx4FfPrOh8NuLFL0sX3jLYUPOvr4wBCYDTfqSUeeuFW67rg47qX1OneXvYGMrigIyJwaYkUYoiIlIFJWN2L91CvhdW7ttA9a4=; X-YMail-OSG: RJQvF.EVM1m59uF4u9fSys7l6q4MAJ_6w0OILQL95n2HI1y dHbI3GB6vRPjkQ_iKr23Y60BVFtP2x6ebysD4BqqZUhvGX1BBNn2AtCvghG2 d7IPI8aRdiMzm6rjdngtPdQK1csqLKWGbeFWCqjya.Cf4vGnYFVZF7Al2oZb ICF1JcdZwmPN5NwHT7U_asxuZbSJuyAq_a.1b.uR.M8HegeOKnHRxs15Q7gA Go.g1wIysORUmM9duQh8mp7RS9Fhq_9ofQwAboyyOWnMvrlrjly8ZAcBxAH. 16ucBPXyRsI2ogj7drK3HanKme3zwCmBXDmZxIlNkKRg4GFcFCccXCpqCZlt zJoNXpkM4Ae1fTQ_Aa05JYWIBWokcNlyvgFJCesmv7BEdr9FEV33OX1C7lcc w2YOca_tf0.Phiz25SmfQqPkzbdEfyJyCJDXRCK7.PvGcrL_I28w7TFZ966s 3ahqq1a90M0b7LlMe7Aq6xXEHcyiu57fNo5Mx Received: from [61.15.240.116] by web190806.mail.sg3.yahoo.com via HTTP; Sat, 22 Dec 2012 01:35:38 SGT X-Rocket-MIMEInfo: 001.001, SGksDQoNCkkgd291bGQgbGlrZSB0byBrbm93IHdoeSBxdW90YSBpcyBub3QgZW5hYmxlZCBpbiB0aGUgc3RvY2sga2VybmVsLi4NCg0KSSByZW1lbWJlcmVkIHRoYXQgaXQgaXMgbm90IGVuYWJsZWQgc2luY2UgZnJlZWJzZCAzLjUgb3IgZnJlZWJzZCA0IGdlbmVyYXRpb24uDQpOb3cgaW4gZnJlZWJzZCA5LjAsIGl0IHN0aWxsIG5lZWVkIGEga2VybmVsIHJlYnVpbGQuDQoNCkkgaGF2ZSBoZWFyZCBpdCBoYXMgcGVyZm9ybWFuY2UgaXNzdWUgKEdJQU5UIGxvY2spIGFib3V0IHF1b3RhLg0KDQpSZWdhcmRzLA0BMAEBAQE- X-Mailer: YahooMailClassic/15.1.1 YahooMailWebService/0.8.129.483 Message-ID: <1356111338.1283.YahooMailClassic@web190806.mail.sg3.yahoo.com> Date: Sat, 22 Dec 2012 01:35:38 +0800 (SGT) From: Patrick Dung Subject: About QUOTA support in stock kernel To: freebsd-questions@freebsd.org, freebsd hackers MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 17:35:40 -0000 Hi, I would like to know why quota is not enabled in the stock kernel.. I remembered that it is not enabled since freebsd 3.5 or freebsd 4 generation. Now in freebsd 9.0, it still neeed a kernel rebuild. I have heard it has performance issue (GIANT lock) about quota. Regards, Patrick From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 17:51:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0278E31A for ; Fri, 21 Dec 2012 17:51:16 +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 D70F58FC0A for ; Fri, 21 Dec 2012 17:51:15 +0000 (UTC) Received: from [10.0.10.3] ([173.88.197.103]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 21 Dec 2012 09:51:16 -0800 Message-ID: <50D4A193.6040707@a1poweruser.com> Date: Fri, 21 Dec 2012 12:51:15 -0500 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Fleuriot Damien Subject: Re: uname -r output values? References: <50D465F7.1070408@a1poweruser.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Dec 2012 17:51:16.0699 (UTC) FILETIME=[C686AAB0:01CDDFA3] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 17:51:16 -0000 Fleuriot Damien wrote: > On Dec 21, 2012, at 2:36 PM, Fbsd8 wrote: > >> When issuing the uname -r command what are the different values possible to expect? >> >> So far I have this list. >> >> Where X.X = major release . Sub release numbers >> Where y = number 1 through 9 >> >> X.X-BETAy >> X.X-RCy >> X.X-RELEASE >> X.X-RELEASE-py >> X.X-PRERELEASE >> X.X-CURRENT >> > > mybsd dam ~ > $ uname -r > 8.2-STABLE > How did you create this 8.2-STABLE system? I don't see any .iso file for this. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 18:10:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9A43F75 for ; Fri, 21 Dec 2012 18:10:33 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id AC5468FC13 for ; Fri, 21 Dec 2012 18:10:33 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa05.fnfis.com (8.14.5/8.14.5) with ESMTP id qBLIANMB031559 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 21 Dec 2012 12:10:29 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.2.309.2; Fri, 21 Dec 2012 12:10:27 -0600 Subject: Re: uname -r output values? MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="us-ascii" From: Devin Teske In-Reply-To: <50D4A193.6040707@a1poweruser.com> Date: Fri, 21 Dec 2012 10:10:26 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: References: <50D465F7.1070408@a1poweruser.com> <50D4A193.6040707@a1poweruser.com> To: Fbsd8 X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2012-12-21_06:2012-12-21,2012-12-21,1970-01-01 signatures=0 Cc: Fleuriot Damien , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 18:10:34 -0000 On Dec 21, 2012, at 9:51 AM, Fbsd8 wrote: > Fleuriot Damien wrote: >=20 >> On Dec 21, 2012, at 2:36 PM, Fbsd8 wrote: >>> When issuing the uname -r command what are the different values possibl= e to expect? >>>=20 >>> So far I have this list. >>>=20 >>> Where X.X =3D major release . Sub release numbers >>> Where y =3D number 1 through 9 >>>=20 >>> X.X-BETAy >>> X.X-RCy >>> X.X-RELEASE >>> X.X-RELEASE-py >>> X.X-PRERELEASE >>> X.X-CURRENT >> mybsd dam ~ >> $ uname -r >> 8.2-STABLE >=20 > How did you create this 8.2-STABLE system? >=20 > I don't see any .iso file for this. >=20 Slurp down the -STABLE code for a kernel, compile said kernel, then boot sa= id kernel. "uname -r" will now produce "-STABLE" That's the easiest way to get a uname like that, but other ways include doi= ng a "buildworld/installworld" off the same slurped code to get a full user= land (not just kernel) that is -STABLE. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 19:33:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C587EEF for ; Fri, 21 Dec 2012 19:33:47 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id DE0618FC13 for ; Fri, 21 Dec 2012 19:33:46 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id qBLJXc3D007831 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 21 Dec 2012 13:33:39 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 21 Dec 2012 13:33:38 -0600 From: dweimer To: Subject: Re: ZFS info WAS: new backup server file system options Organization: dweimer.net Mail-Reply-To: In-Reply-To: <50D49C4E.6060007@qeng-ho.org> References: <282CDB05-5607-4315-8F37-3EEC289E83F5@kraus-haus.org> <50D49C4E.6060007@qeng-ho.org> Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 19:33:47 -0000 On 2012-12-21 11:28, Arthur Chance wrote: > On 12/21/12 14:06, Paul Kraus wrote: >> On Dec 21, 2012, at 7:49 AM, yudi v wrote: >> >>> I am building a new freebsd fileserver to use for backups, will be >>> using 2 >>> disk raid mirroring in a HP microserver n40l. >>> I have gone through some of the documentation and would like to >>> know what >>> file systems to choose. >>> >>> According to the docs, ufs is suggested for the system partitions >>> but >>> someone on the freebsd irc channel suggested using zfs for the >>> rootfs as >>> well >>> >>> Are there any disadvantages of using zfs for the whole system >>> rather than >>> going with ufs for the system files and zfs for the user data? >> >> First a disclaimer, I have been working with Solaris since 1995 and >> managed >> lots of data under ZFS, I have only been working with FreeBSD for >> about the past >> 6 months. >> >> UFS is clearly very stable and solid, but to get redundancy you >> need to use >> a separate "volume manager". > > Slight correction here - you don't need a volume manager (as I > understand the term), you'd use the GEOM subsystem, specifically > gmirror in this case. See "man gmirror" for details > >> ZFS is a completely different way of thinking about managing >> storage (not >> just a filesystem). I prefer ZFS for a number of reasons: >> >> 1) End to end data integrity through checksums. With the advent of 1 >> TB plus >> drives, the uncorrectable error rate (typically 10^-14 or 10^-15) >> means that >> over the life of any drive you *are* now likely to run into >> uncorrectable errors. >> This means that traditional volume managers (which rely on the drive >> reporting an >> bad reads and writes) cannot detect these errors and bad data will >> be returned to >> the application. >> >> 2) Simplicity of management. Since the volume management and >> filesystem layers >> have been combined, you don't have to manage each separately. >> >> 3) Flexibility of storage. Once you build a zpool, the filesystems >> that reside >> on it share the storage of the entire zpool. This means you don't >> have to decide >> how much space to commit to a given filesystem at creation. It also >> means that all >> the filesystems residing in that one zpool share the performance of >> all the drives >> in that zpool. >> >> 4) Specific to booting off of a ZFS, if you move drives around (as I >> tend to do in >> at least one of my lab systems) the bootloader can still find the >> root filesystem >> under ZFS as it refers to it by zfs device name, not physical drive >> device name. >> Yes, you can tell the bootloader where to find root if you move it, >> but zfs does >> that automatically. >> >> 5) Zero performance penalty snapshots. The only cost to snapshots is >> the space >> necessary to hold the data. I have managed systems with over 100,000 >> snapshots. >> >> I am running two production, one lab, and a bunch of VBox VMs all >> with ZFS. >> The only issue I have seen is one I have also seen under Solaris >> with ZFS. Certain >> kinds of hardware layer faults will cause the zfs management tools >> (the zpool and >> zfs commands) to hang waiting on a blocking I/O that will never >> return. The data >> continuos to be available, you just can't manage the zfs >> infrastructure until the >> device issues are cleared. For example, if you remove a USB drive >> that hosts a >> mounted ZFS, then any attempt to manage that ZFS device will hang >> (zpool export >> -f hangs until a reboot). >> >> Previously I had been running (at home) a fileserver under >> OpenSolaris using >> ZFS and it saved my data when I had multiple drive failures. At a >> certain client >> we had a 45 TB configuration built on top of 120 750GB drives. We >> had multiple >> redundancy and could survive a complete failure of 2 of the 5 disk >> enclosures (yes, >> we tested this in pre-production). >> >> There are a number of good writeups on how setup a FreeBSD system >> to boot off >> of ZFS, I like this one the best >> http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE , but I do >> the zpool/zfs >> configuration slightly differently (based on some hard learned >> lessons on Solaris). >> I am writing up my configuration (and why I do it this way), but it >> is not ready yet. >> >> Make sure you look at all the information here: >> http://wiki.freebsd.org/ZFS , >> keeping in mind that lots of it was written before FreeBSD 9. I >> would NOT use ZFS, >> especially for booting, prior to release 9 of FreeBSD. Some of the >> reason for this >> is the bugs that were fixed in zpool version 28 (included in release >> 9). > > I would agree with all that. My current system uses UFS filesystems > for the base install, and ZFS with a raidz zpool for everything else, > but that's only because I started using ZFS in REL 8.0 when it was > just out of experimental status, and I didn't want to risk having an > unbootable system. (That last paragraph suggests I was wise in that > decision.) My next machine I'm specing out now will be pure ZFS so I > get the boot environment stuff. > > _______________________________________________ > 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 agree with that as well, I have recently done a lot of testing with ZFS and boot environments utilizing beadm. I haven't switched any of the production servers at work yet, but I have changed over my home web server. But I feel comfortable enough with the results of my testing and the continued stability of my home system, the only thing holding me up on the work systems, is the official 9.1 release. Buts that's just so I can get both the upgrade to 9.1 and the new ZFS install done at the same time. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 21:12:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9A1BE61 for ; Fri, 21 Dec 2012 21:12:30 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 728C08FC12 for ; Fri, 21 Dec 2012 21:12:29 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id qBLLCS8l010576 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 21 Dec 2012 15:12:29 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 21 Dec 2012 15:12:28 -0600 From: dweimer To: FreeBSD Questions Subject: FreeBSD as an Access Point Organization: dweimer.net Mail-Reply-To: Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 21:12:30 -0000 Just wondering if anyone has used FreeBSD (or NanoBSD) on any small form factor broads such as PC Engines Alix, or similar hardware. And how well it has worked for them, and what hardware they used. I have been having a lot of performance issues with my home wireless, and am considering replacing the current APs early next year. I wanted something a little more flexible than the standard consumer AP, without spending the money for a high end Cisco AP (I do realize that the hardware will run me in the range of their low end APs). My early searching shows I should be able to get an Alix board, Wireless Card, and Antennas for around $300. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 21:39:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4D015B1 for ; Fri, 21 Dec 2012 21:39:39 +0000 (UTC) (envelope-from dfunk6@cox.net) Received: from eastrmfepo203.cox.net (eastrmfepo203.cox.net [68.230.241.218]) by mx1.freebsd.org (Postfix) with ESMTP id 4CD098FC14 for ; Fri, 21 Dec 2012 21:39:38 +0000 (UTC) Received: from eastrmimpo305 ([68.230.241.237]) by eastrmfepo203.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20121221213938.EIEK29905.eastrmfepo203.cox.net@eastrmimpo305> for ; Fri, 21 Dec 2012 16:39:38 -0500 Received: from [192.168.15.20] ([98.184.148.25]) by eastrmimpo305 with cox id eMfd1k00F0Z6voq01MfeaQ; Fri, 21 Dec 2012 16:39:38 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020207.50D4D71A.0041,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.0 cv=QvDcLCOd c=1 sm=1 a=hHuxFSa7Bk3JB4jl98uDsg==:17 a=OvIMvpSEN2sA:10 a=6lWz5mXdQ1gA:10 a=G8Uczd0VNMoA:10 a=kviXuzpPAAAA:8 a=m5kxL9c2j9QA:10 a=CjxXgO3LAAAA:8 a=5j09dT6oAAAA:8 a=YKthsTFFhFLBTxzuTFgA:9 a=wPNLvfGTeEIA:10 a=snFZBPs1AAAA:8 a=sLmdW4cCuTarYXfJ7SYA:9 a=_W_S_7VecoQA:10 a=Rbl9bkGQDAcA:10 a=v-Gm2gBPDj8VUCdU:21 a=hHuxFSa7Bk3JB4jl98uDsg==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; auth=pass (CRAM-MD5) smtp.auth=dfunk6@cox.net Message-ID: <50D4D70E.7060309@cox.net> Date: Fri, 21 Dec 2012 15:39:26 -0600 From: Derek Funk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: FreeBSD as an Access Point References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 21:39:39 -0000 Not familiar with it my self but soekris are embedded systems with BSD in mind. On 12/21/2012 3:12 PM, dweimer wrote: > Just wondering if anyone has used FreeBSD (or NanoBSD) on any small > form factor broads such as PC Engines Alix, or similar hardware. And > how well it has worked for them, and what hardware they used. > > I have been having a lot of performance issues with my home wireless, > and am considering replacing the current APs early next year. I > wanted something a little more flexible than the standard consumer AP, > without spending the money for a high end Cisco AP (I do realize that > the hardware will run me in the range of their low end APs). My early > searching shows I should be able to get an Alix board, Wireless Card, > and Antennas for around $300. > From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 22:20:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01EAC4E6 for ; Fri, 21 Dec 2012 22:20:02 +0000 (UTC) (envelope-from jason@infinitebubble.com) Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by mx1.freebsd.org (Postfix) with ESMTP id 741448FC14 for ; Fri, 21 Dec 2012 22:20:00 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id dt10so2301926wgb.15 for ; Fri, 21 Dec 2012 14:19:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infinitebubble.com; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=H5HPLZMtclVPXUfnpkqX/B0jNqxfWbmch7d54jxXc0Y=; b=TufEMjTq2bZ2RvHxd3jDCxKRpBMlI2GZQ+x7rTczaloOIhVCeE2dzgQMFQ0jI6LnX0 V7eFy3Tl2gyD/PJWDOM7feXJYvWRpOJ6p6dKIOTX77wprnYoSGPRNkzAcOHeXN8ssLIZ eNTWQupP6OKDM63zjFS96Y4X8lvdvY6AvIVTE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=H5HPLZMtclVPXUfnpkqX/B0jNqxfWbmch7d54jxXc0Y=; b=ENE+jjuct4F8OVx9dyYNoqD9eXhtfH39jEA7ZvX3F8PRukG2uDhQTN2uR9vMEY6p+b jwWX9CWAgMVLEL0zs/B2U9UqxMp7YljXi/atQVsdR1sBjPgg1w5sx/EA/BTI4J+rGT0K NzzLiDp/f03IUwCVZgmjHVXWKKO6gfHM1AT+9qztz/x3Tsjj5/TJmhZ+8tJsN+ecwuQl EnLP8cHM8KkWvtEPI3/OgXBjHXFuZiajABthGBjAqqJifIgNnt6l5WtUt+uUjcNSdNse JPfBdW7XT6ovpnteZtiRn66DGTe8COQmWei2HTh4NRCbF1XlvZ4322drX6CNlAXkvClV va7Q== MIME-Version: 1.0 Received: by 10.194.92.180 with SMTP id cn20mr26049476wjb.51.1356128399272; Fri, 21 Dec 2012 14:19:59 -0800 (PST) Received: by 10.217.59.196 with HTTP; Fri, 21 Dec 2012 14:19:59 -0800 (PST) X-Originating-IP: [76.108.165.76] In-Reply-To: <50D4D70E.7060309@cox.net> References: <50D4D70E.7060309@cox.net> Date: Fri, 21 Dec 2012 17:19:59 -0500 Message-ID: Subject: Re: FreeBSD as an Access Point From: Jason Taylor To: freebsd-questions@freebsd.org X-Gm-Message-State: ALoCoQmrM3ica1TRYa0eYVRRiHbqYlWIXexHzoLvgsEwWtr6HlOG5ZILWdq5A2jZfEfeXZudN70q Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 22:20:02 -0000 Maybe the pfSense project might have some useful info for you. http://doc.pfsense.org/index.php/Is_there_a_Compact_Flash,_embedded_hardware,_or_Soekris_or_ALIX_version_of_pfSense%3F On Fri, Dec 21, 2012 at 4:39 PM, Derek Funk wrote: > Not familiar with it my self but soekris ylt=A0oGkkuf1tRQfAUASA5XNyoA;_**ylu=**X3oDMTE1aTNzamNlBHNlYwNzcgRwb3** > MDMQRjb2xvA3NrMQR2dGlkA1JDRjAz**OF8yMzU-/SIG=117fj2pvu/EXP=** > 1356154655/**http%3a//soekris.**com/> > are embedded systems with BSD in mind. > > > > > On 12/21/2012 3:12 PM, dweimer wrote: > >> Just wondering if anyone has used FreeBSD (or NanoBSD) on any small form >> factor broads such as PC Engines Alix, or similar hardware. And how well >> it has worked for them, and what hardware they used. >> >> I have been having a lot of performance issues with my home wireless, and >> am considering replacing the current APs early next year. I wanted >> something a little more flexible than the standard consumer AP, without >> spending the money for a high end Cisco AP (I do realize that the hardware >> will run me in the range of their low end APs). My early searching shows I >> should be able to get an Alix board, Wireless Card, and Antennas for around >> $300. >> >> > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 02:20:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C93A26A for ; Sat, 22 Dec 2012 02:20:12 +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 A93808FC12 for ; Sat, 22 Dec 2012 02:20:10 +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 qBM1tjFY068288; Fri, 21 Dec 2012 20:55:45 -0500 (EST) (envelope-from chris@monochrome.org) Date: Fri, 21 Dec 2012 20:55:45 -0500 (EST) From: Chris Hill To: dweimer Subject: Re: FreeBSD as an Access Point In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 02:20:12 -0000 On Fri, 21 Dec 2012, dweimer wrote: > I have been having a lot of performance issues with my home wireless, > and am considering replacing the current APs early next year. I > wanted something a little more flexible than the standard consumer AP, > without spending the money for a high end Cisco AP (I do realize that > the hardware will run me in the range of their low end APs). My early > searching shows I should be able to get an Alix board, Wireless Card, > and Antennas for around $300. Not really an answer to the question, but maybe a solution to the problem... At my work we deploy a fair amount of wi-fi at clients' sites. The access points we like are Pakedge brand. These are solid, high-powered industrial-grade equipment, and in your price range. For what it's worth. -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 04:10:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8227E295 for ; Sat, 22 Dec 2012 04:10:44 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 379E88FC13 for ; Sat, 22 Dec 2012 04:10:43 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id qBM4AgA1021488 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 21 Dec 2012 22:10:42 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 21 Dec 2012 22:10:42 -0600 From: dweimer To: Chris Hill Subject: Re: FreeBSD as an Access Point Organization: dweimer.net Mail-Reply-To: In-Reply-To: References: Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 04:10:44 -0000 On 2012-12-21 19:55, Chris Hill wrote: > On Fri, 21 Dec 2012, dweimer wrote: > >> I have been having a lot of performance issues with my home >> wireless, and am considering replacing the current APs early next >> year. I wanted something a little more flexible than the standard >> consumer AP, without spending the money for a high end Cisco AP (I do >> realize that the hardware will run me in the range of their low end >> APs). My early searching shows I should be able to get an Alix board, >> Wireless Card, and Antennas for around $300. > > Not really an answer to the question, but maybe a solution to the > problem... At my work we deploy a fair amount of wi-fi at clients' > sites. The access points we like are Pakedge brand. These are solid, > high-powered industrial-grade equipment, and in your price range. For > what it's worth. I will look into those, currently running UniFi, worked out great at first, but struggling now, can only get 1-3Mbps download, yet 50-60Mbps upload. working with their support now via email ot hopefully resolve it, but looking into other options as well. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 04:25:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3786257A for ; Sat, 22 Dec 2012 04:25:03 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id E29898FC12 for ; Sat, 22 Dec 2012 04:25:02 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id qBM4P1S6021880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 21 Dec 2012 22:25:02 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 21 Dec 2012 22:25:01 -0600 From: dweimer To: Subject: Re: FreeBSD as an Access Point Organization: dweimer.net Mail-Reply-To: In-Reply-To: References: <50D4D70E.7060309@cox.net> Message-ID: <3d8b82a12a0842c23a484b9f3eb92c73@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 04:25:03 -0000 On 2012-12-21 16:19, Jason Taylor wrote: > Maybe the pfSense project might have some useful info for you. > > http://doc.pfsense.org/index.php/Is_there_a_Compact_Flash,_embedded_hardware,_or_Soekris_or_ALIX_version_of_pfSense%3F > > > On Fri, Dec 21, 2012 at 4:39 PM, Derek Funk wrote: > >> Not familiar with it my self but soekris >> > >> ylt=A0oGkkuf1tRQfAUASA5XNyoA;_**ylu=**X3oDMTE1aTNzamNlBHNlYwNzcgRwb3** >> MDMQRjb2xvA3NrMQR2dGlkA1JDRjAz**OF8yMzU-/SIG=117fj2pvu/EXP=** >> >> 1356154655/**http%3a//soekris.**com/> >> are embedded systems with BSD in mind. >> >> >> >> >> On 12/21/2012 3:12 PM, dweimer wrote: >> >>> Just wondering if anyone has used FreeBSD (or NanoBSD) on any small >>> form >>> factor broads such as PC Engines Alix, or similar hardware. And >>> how well >>> it has worked for them, and what hardware they used. >>> >>> I have been having a lot of performance issues with my home >>> wireless, and >>> am considering replacing the current APs early next year. I wanted >>> something a little more flexible than the standard consumer AP, >>> without >>> spending the money for a high end Cisco AP (I do realize that the >>> hardware >>> will run me in the range of their low end APs). My early searching >>> shows I >>> should be able to get an Alix board, Wireless Card, and Antennas >>> for around >>> $300. >>> >>> >> ______________________________**_________________ >> 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" Probably should have been more clear, when I was asking about FreeBSD on something like Alix, left out the "as an access point" that I was thinking. I have a pfSense system running on an Alix board as my Router/Firewall, incredibly happy with it, but already using a Soekris VPN1411: Crypto accelerator in the miniPCI slot to help out with my IPSec tunnel to work. Otherwise I would just add a wireless card to test it out on that box. Definitely don't want wireless and router together long term though, as I like to be able to take one down without the other when doing upgrades. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 07:34:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F4644D9 for ; Sat, 22 Dec 2012 07:34:08 +0000 (UTC) (envelope-from feld@feld.me) Received: from feld.me (feld.me [66.170.3.2]) by mx1.freebsd.org (Postfix) with ESMTP id 3A72B8FC0A for ; Sat, 22 Dec 2012 07:34:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-Id:Subject:Cc:To:From:Date; bh=oT6Ln9BESFw8jI3lwJGXKFNvyR0W9NvwQ9Hc2CJN1AA=; b=NXdn81qD3YNqGPNrEmOYm9WNLgKRFPmNzCovgCugK/HdlPBGuIYF9BYqoeG0c7lszA87d2sLWjFXGmBvyBWBJdR3HVdyzoTaBtgznO3vJ6wz/qSzfnhILjb/eCQs4SZb; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by feld.me with esmtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1TmJal-000CTF-0w; Sat, 22 Dec 2012 01:33:58 -0600 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpa id 1356161634-2688-2687/5/31; Sat, 22 Dec 2012 07:33:54 +0000 Date: Sat, 22 Dec 2012 01:33:43 -0600 From: Mark Felder To: dweimer@dweimer.net Subject: Re: FreeBSD as an Access Point Message-Id: <20121222013343.52102615@tech304> In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-SA-Report: ALL_TRUSTED=-1, KHOP_THREADED=-0.5 X-SA-Score: -1.5 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 07:34:08 -0000 On Fri, 21 Dec 2012 22:10:42 -0600 dweimer@dweimer.net wrote: > I will look into those, currently running UniFi, worked out great at=20 > first, but struggling now, can only get 1-3Mbps download, yet 50-60Mbps= =20 > upload. This seems very, very strange. I've never heard of that problem with = UnFi before... Mikrotiks are "neat" devices for wifi too, but they have their own = warts... beware. Still more powerful than the Linksys you'll pick up at = Best Buy, though. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 11:21:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE6BE5BC for ; Sat, 22 Dec 2012 11:21:02 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 47C6F8FC0C for ; Sat, 22 Dec 2012 11:21:01 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id qBMBJYsU088444; Sat, 22 Dec 2012 11:19:35 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <50D59746.5060504@qeng-ho.org> Date: Sat, 22 Dec 2012 11:19:34 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: dweimer@dweimer.net Subject: Re: FreeBSD as an Access Point References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 11:21:02 -0000 On 12/21/12 21:12, dweimer wrote: > Just wondering if anyone has used FreeBSD (or NanoBSD) on any small form > factor broads such as PC Engines Alix, or similar hardware. And how > well it has worked for them, and what hardware they used. > > I have been having a lot of performance issues with my home wireless, > and am considering replacing the current APs early next year. I wanted > something a little more flexible than the standard consumer AP, without > spending the money for a high end Cisco AP (I do realize that the > hardware will run me in the range of their low end APs). My early > searching shows I should be able to get an Alix board, Wireless Card, > and Antennas for around $300. > I run pfSense on an Alix 2d13 for my firewall, which I see you mentioned doing in a later mail. It handles a 60 Mb/s link without breaking sweat. NanoBSD obviously would fit on it, using a CF card. If you wanted full(ish) FreeBSD you could always add an external disk. I note you're using a crypto accelerator too help with IPSec - are you aware that the Geode CPU has hardware support for AES? Alternatively, the Alix 2d2 has 2 miniPCI slots so you could have both a crypto unit and a WiFi. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 12:48:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A2BCAAA9 for ; Sat, 22 Dec 2012 12:48:47 +0000 (UTC) (envelope-from agapov.slava@gmail.com) Received: from mail-ob0-f177.google.com (mail-ob0-f177.google.com [209.85.214.177]) by mx1.freebsd.org (Postfix) with ESMTP id 63AB78FC13 for ; Sat, 22 Dec 2012 12:48:46 +0000 (UTC) Received: by mail-ob0-f177.google.com with SMTP id uo13so5399887obb.22 for ; Sat, 22 Dec 2012 04:48:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=XAjQQjy/mfx2+TiQ1vLbl1hoHhMBGrUf9RN8NDAEP7g=; b=mPjLuaPH0d33XfCVj8TeZhlza4OLKM1H+x/8xYl7CmxWmFfPfM9Gk3hyFnXSb5NATP ge6mHXIzpZxDQLNOSyeC9R3NZAoIkNi1LkrqTJqa73z8u15tcDUHyo7mprjVoQPfeKyd 3qyfSdxboeVdcnisojfC9CSNu7epuCGBuN7eIQttV8INfb26vhGxSF8H8/dS1ry+pcmx VUfwybpgz+Iw0u3AQEE0fp9oSaPoSXCFGEK8y3r5KHshWWwbsq+DdJe5pl7mAvbvn0L8 CxBMZHFqBhqx+zjXAm6bfZ63X/tiEdx/CrxMVEU3dWxhwMeow5A1FRcV0k1TCJX9MKLi 5pgQ== MIME-Version: 1.0 Received: by 10.182.110.1 with SMTP id hw1mr13593678obb.68.1356180520192; Sat, 22 Dec 2012 04:48:40 -0800 (PST) Received: by 10.182.112.193 with HTTP; Sat, 22 Dec 2012 04:48:40 -0800 (PST) Date: Sat, 22 Dec 2012 15:48:40 +0300 Message-ID: Subject: kldload if_run error From: =?KOI8-R?B?99HexdPMwdcg4cfB0M/X?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 12:48:47 -0000 Hello. I try load if_run module on freebsd and got error uname -a FreeBSD 9.0-STABLE #0 r230000 kldload if_run kldload: can't load if_run: Exec format error interface run.1 already present in the KLD 'kernel'! linker_load_file: Unsupported file type on FreeBSD 9.1-PRERELEASE i got the same error. help me. How i can load this module? I wont use usb wi-fi model d-link dwa-125. thanks From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 13:46:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A205BAC for ; Sat, 22 Dec 2012 13:46:14 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 1657D8FC12 for ; Sat, 22 Dec 2012 13:46:13 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id hq7so2520557wib.1 for ; Sat, 22 Dec 2012 05:46:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:references:in-reply-to:mime-version :content-transfer-encoding:content-type:message-id:cc:x-mailer:from :subject:date:to:x-gm-message-state; bh=GsLEo2fjKsUkSil3ken/8qkl1SjWs98TIFQRLDLowag=; b=fdeBIWQWARz1WechUvlaRc+dIz2DNiHD7z2FfuKZtt1O6l8t+cR0llDemgrl0dsXB9 JrBBz3pxPYssSVDQmbshfXzBAIZUMXokBIJDgO5caedzWFBI941r+mZjI674e6gaRhfd zp8w7os3UTXdqKapu6Nqot709SNAKfDMOLR3ktcWxxLYXSV/Dt4DzxnK4ibNydl9fnbk Uq5+hV79wzsNzqoPyJl6XptUV04wGcbHK5K0dI7lDDriHlqnAmUGG2GJ+SMSDLWksmdQ e+OTHES8AvMpXTS12Ma/cCzVhS+DGUPA9nfbBNas9/xJk9dCt1vufHYzw3s8ckckljFU ZtIw== X-Received: by 10.194.61.105 with SMTP id o9mr28616259wjr.8.1356183972746; Sat, 22 Dec 2012 05:46:12 -0800 (PST) Received: from [10.49.223.8] ([92.90.20.74]) by mx.google.com with ESMTPS id p2sm23328149wic.7.2012.12.22.05.46.11 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 22 Dec 2012 05:46:11 -0800 (PST) References: <50D465F7.1070408@a1poweruser.com> <50D4A193.6040707@a1poweruser.com> In-Reply-To: <50D4A193.6040707@a1poweruser.com> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <3969C0C2-395E-4030-A4D7-20D49182019F@my.gd> X-Mailer: iPhone Mail (9A405) From: Damien Fleuriot Subject: Re: uname -r output values? Date: Sat, 22 Dec 2012 14:45:21 +0100 To: Fbsd8 X-Gm-Message-State: ALoCoQlh2QMHFKpgq0ETYp10swxKZzBI3TXxY1DYl4UZNdR2d4yQH4dd8B2OSqMar1NL8E/a2BCm Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 13:46:14 -0000 On 21 Dec 2012, at 18:51, Fbsd8 wrote: > Fleuriot Damien wrote: >=20 >> On Dec 21, 2012, at 2:36 PM, Fbsd8 wrote: >>> When issuing the uname -r command what are the different values possible= to expect? >>>=20 >>> So far I have this list. >>>=20 >>> Where X.X =3D major release . Sub release numbers >>> Where y =3D number 1 through 9 >>>=20 >>> X.X-BETAy >>> X.X-RCy >>> X.X-RELEASE >>> X.X-RELEASE-py >>> X.X-PRERELEASE >>> X.X-CURRENT >> mybsd dam ~ >> $ uname -r >> 8.2-STABLE >=20 > How did you create this 8.2-STABLE system? >=20 > I don't see any .iso file for=20 Instructions given already by Devin. Basically, STABLE is a good compromise between running the latest version (1= 0-CURRENT if you're on 9, or 9.x if you're on 8), and running a RELEASE that= gets updated very slowly. I've never had bad surprises with STABLE and encourage running it instead of= RELEASE if you want the latest patches. Note that on occasion, STABLE will be replaced by BETA or RC. For example 8.2-STABLE became 8.3-RC1 at some point, then 8.3-RC1 ceased to e= xist altogether and was renamed to 8.3-STABLE (discounting any other release= candidates here). From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 14:24:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0FF3BED9 for ; Sat, 22 Dec 2012 14:24:33 +0000 (UTC) (envelope-from jack.mclauren@yahoo.com) Received: from nm38-vm2.bullet.mail.bf1.yahoo.com (nm38-vm2.bullet.mail.bf1.yahoo.com [72.30.239.18]) by mx1.freebsd.org (Postfix) with ESMTP id A27AA8FC0A for ; Sat, 22 Dec 2012 14:24:32 +0000 (UTC) Received: from [98.139.215.143] by nm38.bullet.mail.bf1.yahoo.com with NNFMP; 22 Dec 2012 14:22:44 -0000 Received: from [98.139.215.251] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 22 Dec 2012 14:22:44 -0000 Received: from [127.0.0.1] by omp1064.mail.bf1.yahoo.com with NNFMP; 22 Dec 2012 14:22:44 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 809770.25642.bm@omp1064.mail.bf1.yahoo.com Received: (qmail 16308 invoked by uid 60001); 22 Dec 2012 14:22:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1356186164; bh=Oj3EJ2WVbC1KFLcfH3ndqe2UUj8lRXtVtYyWt2U9Oe0=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=6KknZN9ekFuS5+ycfdHCp4HiqaPMBwZau5L/lYoOiSl4dTdYpOsML2TMT8xZCzc08Okf2LuHv3gyzlrAG3wSLScUfIBoY/Uuuz9Z+OolnCyP9jhHgDMB9ycl1WbIIFhDs9WG3Ta0IVR4qq/YVTu5lKsNSNye4SYK1tzJ/NiK/Zw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=OeOe2/cxbGgrDKjjlWep34lxfww95f3M7dvhMxXt6gKPX78nNb9/p4aWSwdTsGhMHEIXa+ilfrGIHl1xnvF+MXGC7lKzDAmEZSedHFEJqNej7AZfE4fBuCMt9IZv5PQD5h/KmIZ6FU+N56Eydf3/yWqVkEjnxDWVUMYy2M4ymdA=; X-YMail-OSG: 7.O5hoYVM1leC1m2CYAmqDwFwvFMmHHe8YmId7IfqKmXU2U dNzg8JWkbWj.BFCVKDSN5BNzDGpffvZyt9BgyRQ38KcSEU7xgrLN4vmXqLWw Ih6iKxjXpZE_TWz.PT0ogXzfHAD_Y5QQ35w6qdCjNvVmLm2vVYqdZDp_cx4V IADP2FLjZy54EBVD1L8wVonjCAPmKP_fX9L_UneQPG4EQysiKoFPd0UrJeIF hHWG0nee0TAn2gmPIhwCSeJb.Md6GRFACx49RC3c7tls2XpOrqgfEWhPVbTZ tsw5nQ1abYj8Wust6uFPJaf1pPfT7lpIa_Iq8JqeLT.zpXw6CgX0LtnrIbK. .XewpGZEokp2XDakS7PU3bmCKEMvcXgATMkWKDM08GFZGgQK6WLXxgnMkMoO x9UWtOmYU5iMy5lGLx.IZ5fvjkhAnx04zQBWDqSgnQutuYsJzm.zquy7TGOG J Received: from [89.165.120.140] by web160104.mail.bf1.yahoo.com via HTTP; Sat, 22 Dec 2012 06:22:44 PST X-Rocket-MIMEInfo: 001.001, SGkgZmVsbGFzCkhvdyBjYW4gSSBleGNsdWRlIHNwZWNpZmljIGRpcmVjdG9yaWVzIGZyb20gbXkgZmluZCBjb21tYW5kID8gSSB3YW50IHRvIGxvb2sgZm9yIGFsbCBmaWxlcyBpbiB0aGUgd2hvbGUgc3lzdGVtIGV4Y2VwdCBmb3IgdGhvc2UgaW4gZS5nIC9leHRyYSBkaXJlY3RvcnkuwqAKSSB1c2UgdGhpcyBjb21tYW5kIHRvIGZpbmQgYWxsIGZpbGVzLCBidXQgaG93IGNhbiBJIGV4Y2x1ZGUgL2V4dHJhIGRpcmVjdG9yeSA_CgpmaW5kIC8gLXR5cGUgZgoKVGhhbmtzIGluIGFkdmFuY2UgLi4uwqABMAEBAQE- X-Mailer: YahooMailWebService/0.8.129.483 Message-ID: <1356186164.16227.YahooMailNeo@web160104.mail.bf1.yahoo.com> Date: Sat, 22 Dec 2012 06:22:44 -0800 (PST) From: Jack Mc Lauren Subject: exclude directories from find command To: FreeBSD Global Users Mailing List 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.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jack Mc Lauren List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 14:24:33 -0000 Hi fellas=0AHow can I exclude specific directories from my find command ? I= want to look for all files in the whole system except for those in e.g /ex= tra directory.=A0=0AI use this command to find all files, but how can I exc= lude /extra directory ?=0A=0Afind / -type f=0A=0AThanks in advance ...=A0 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 14:36:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B22B654E for ; Sat, 22 Dec 2012 14:36:32 +0000 (UTC) (envelope-from jan0sch@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by mx1.freebsd.org (Postfix) with ESMTP id 364558FC12 for ; Sat, 22 Dec 2012 14:36:31 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.20]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0LpAT4-1T7bGF03pk-00exr0 for ; Sat, 22 Dec 2012 15:36:31 +0100 Received: (qmail invoked by alias); 22 Dec 2012 14:36:30 -0000 Received: from dslb-088-072-201-140.pools.arcor-ip.net (EHLO magni.rostock.home) [88.72.201.140] by mail.gmx.net (mp020) with SMTP; 22 Dec 2012 15:36:30 +0100 X-Authenticated: #1545395 X-Provags-ID: V01U2FsdGVkX1/bqQ9kpYbbMdc4iUYedpp6eMFPklNbABE/xxCTLj oBO1C206hbUe3f Date: Sat, 22 Dec 2012 15:36:11 +0100 From: Jens Jahnke To: freebsd-questions@freebsd.org Subject: Re: exclude directories from find command Message-Id: <20121222153611.446b731c99928bbc16183eb8@gmx.net> In-Reply-To: <1356186164.16227.YahooMailNeo@web160104.mail.bf1.yahoo.com> References: <1356186164.16227.YahooMailNeo@web160104.mail.bf1.yahoo.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) X-Face: &?!P`87-36gaG)/K:yi&ixw=uy]y'?$vrc Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA512"; boundary="Signature=_Sat__22_Dec_2012_15_36_11_+0100_ofgUoBeea.UQcNmI" X-Y-GMX-Trusted: 0 Cc: Jack Mc Lauren X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 14:36:32 -0000 --Signature=_Sat__22_Dec_2012_15_36_11_+0100_ofgUoBeea.UQcNmI Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sat, 22 Dec 2012 06:22:44 -0800 (PST) Jack Mc Lauren wrote: JML> How can I exclude specific directories from my find command ? I JML> want to look for all files in the whole system except for those in JML> e.g /extra directory. I use this command to find all files, but JML> how can I exclude /extra directory ? JML>=20 JML> find / -type f what about "find / -type f | grep -v ^\/extra" ? ;) Regards --=20 22. Julmond 2012, 15:33 Homepage : http://www.jan0sch.de For flavor, instant sex will never supersede the stuff you have to peel and cook. -- Quentin Crisp --Signature=_Sat__22_Dec_2012_15_36_11_+0100_ofgUoBeea.UQcNmI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQG8BAEBCgAGBQJQ1cVtAAoJED2+SXzzbciGh20M/1rsQxpMtGfaJGOOL3c05Tjz i9oP7UcgMK+AC6ebK/7Q31tFP6UTuNYSl28BTSZEn1BNYErwugeZhKk8nD9qQQD+ ER7dC77r2M5kTPFxOzS5hCK5xobv9zIRxY+AQs+oCqwTUFcbt4tiHBhz7kp2FYUr d+RfxOZw8oYmZdUII8rAmbwi/Wxe1TqcayPOz07oW1XTJyC+t/iDzEKUMUESYLfB yb5+1ijkpJHOLd8eO+volOMkNc09W6uB6PgJQ9sSZRjX7MYrkcwuDoznb9FE9e2m TEaSZydpZePS4IS3X1xasvakT0mm1x1qgcckItRlDjK54ebeOC20QGOqAic6ilqj p5YznA2J00ZO9cUY5aJXhXXR0JjYFNSnVR53Bhpk7dM5qDBT0fUnapqimmUo9Gw4 9EGXN0udoPhdxjis+3FJxB/z6qEBpww98sIvbIenYNmEEYHpZzUDYP6qQMWTV6vW N6TgfCgqRpXEMri29q97Y4t+layorSKzy+0WL3Nd7yLiQh3+sS0KhI6T0htgu34Y /9KLdWr3mdCszz2RLLQB =Bf2M -----END PGP SIGNATURE----- --Signature=_Sat__22_Dec_2012_15_36_11_+0100_ofgUoBeea.UQcNmI-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 15:02:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1ACD7E7E for ; Sat, 22 Dec 2012 15:02:33 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 9EA298FC15 for ; Sat, 22 Dec 2012 15:02:32 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Sat, 22 Dec 2012 16:02:23 +0100 Message-ID: <50D5CB7F.6020103@ose.nl> Date: Sat, 22 Dec 2012 16:02:23 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: kldload if_run error References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 15:02:33 -0000 On 12/22/12 13:48, Вячеслав Агапов wrote: > Hello. > > I try load if_run module on freebsd and got error > uname -a > FreeBSD 9.0-STABLE #0 r230000 > > kldload if_run > kldload: can't load if_run: Exec format error > interface run.1 already present in the KLD 'kernel'! device run is in compiled into generic kernel you don't have to load the module since the driver is already included in the kernel > linker_load_file: Unsupported file type > > on FreeBSD 9.1-PRERELEASE i got the same error. > > help me. How i can load this module? > I wont use usb wi-fi model d-link dwa-125. > > thanks > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 15:08:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A3F7C2 for ; Sat, 22 Dec 2012 15:08:40 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ea0-f180.google.com (mail-ea0-f180.google.com [209.85.215.180]) by mx1.freebsd.org (Postfix) with ESMTP id B96608FC17 for ; Sat, 22 Dec 2012 15:08:39 +0000 (UTC) Received: by mail-ea0-f180.google.com with SMTP id f13so2285100eai.11 for ; Sat, 22 Dec 2012 07:08:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=NJwV44UBL9syCEvWR1WAP4hwZkHmq+QydP2Q4aVpcck=; b=KfAmpA700s6IoC4MCrqAOYmCRl+MFC2FxPKFAl6C7Zp1grnwfrncnDK76wT1KKMIwT 5zJkDPD2rcVYkmdfhzdECXcZu2RQGHInhijIlQ/5koEbsv2GD6MfDiAnkc5DQYqGz09c QmOC1u/roPRfPyMnncEFpQBJbPyoZIC/Bu2XvhtltfnoesfUcV/4BHvx/IsjFGOEL8q6 kXzE4R1r/dzmJxeU+igJmOO6YsaKdvWvtPeXk1mtBERlMx2daSVfOlL1FfqhD4ATGrDF JC7NQT90pFDyBKV/AqbjHJwJWf0SrXlJLbFIqANykECw6BMyQ28y7dLKvrTD8CDXaFI3 1Y5g== X-Received: by 10.14.204.70 with SMTP id g46mr15103806eeo.15.1356188913431; Sat, 22 Dec 2012 07:08:33 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id d3sm28715387eeo.13.2012.12.22.07.08.31 (version=SSLv3 cipher=OTHER); Sat, 22 Dec 2012 07:08:32 -0800 (PST) Date: Sat, 22 Dec 2012 15:08:29 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: exclude directories from find command Message-ID: <20121222150829.28056d15@gumby.homeunix.com> In-Reply-To: <1356186164.16227.YahooMailNeo@web160104.mail.bf1.yahoo.com> References: <1356186164.16227.YahooMailNeo@web160104.mail.bf1.yahoo.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 15:08:40 -0000 On Sat, 22 Dec 2012 06:22:44 -0800 (PST) Jack Mc Lauren wrote: > Hi fellas > How can I exclude specific directories from my find command ? I want > to look for all files in the whole system except for those in > e.g /extra directory. I use this command to find all files, but how > can I exclude /extra directory ? > > find / -type f > Try this http://lmgtfy.com/?q=find+exclude+a+directory From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 15:40:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B855E718 for ; Sat, 22 Dec 2012 15:40:06 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 456E28FC0A for ; Sat, 22 Dec 2012 15:40:05 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Sat, 22 Dec 2012 16:40:03 +0100 Message-ID: <50D5D454.7030601@ose.nl> Date: Sat, 22 Dec 2012 16:40:04 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: exclude directories from find command References: <1356186164.16227.YahooMailNeo@web160104.mail.bf1.yahoo.com> In-Reply-To: <1356186164.16227.YahooMailNeo@web160104.mail.bf1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 15:40:06 -0000 On 12/22/12 15:22, Jack Mc Lauren wrote: > Hi fellas > How can I exclude specific directories from my find command ? I want to look for all files in the whole system except for those in e.g /extra directory. > I use this command to find all files, but how can I exclude /extra directory ? > > find / -type f find -path /extra -prune -o -type f > > Thanks 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 Sat Dec 22 15:56:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D2F888D1 for ; Sat, 22 Dec 2012 15:56:12 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 667C38FC13 for ; Sat, 22 Dec 2012 15:56:11 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Sat, 22 Dec 2012 16:56:09 +0100 Message-ID: <50D5D819.5020902@ose.nl> Date: Sat, 22 Dec 2012 16:56:09 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: poudriere upgade perl in jail Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 15:56:12 -0000 I have poudriere setup on a server to compile packages for my old laptop, mini, and some friends laptops and it works great. How can I upgrade the perl version of the poudriere jail to perl-5.16, it is now perl-5.14? I tried startied the jail with poudriere jail -s -j and then try jail command=portmaster -o lang/perl5.16 lang/perl5.14 but can't get this to work. Should I just wipe the jail, then recreate and first build perl5.16 in it before building the other packages? I have read the man pages for poudriere and jail and searched the web for this, but can't get to the right solution. Thanks in advance. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 16:08:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B374AFB for ; Sat, 22 Dec 2012 16:08:51 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id C5D828FC0A for ; Sat, 22 Dec 2012 16:08:50 +0000 (UTC) Received: from baby-jane.lamaiziere.net (unknown [192.168.1.10]) by smtp.lamaiziere.net (Postfix) with ESMTP id 886D4A4C3; Sat, 22 Dec 2012 17:08:42 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id E216C2CEC43; Sat, 22 Dec 2012 17:08:36 +0100 (CET) Date: Sat, 22 Dec 2012 17:08:36 +0100 From: Patrick Lamaiziere To: Bas Smeelen Subject: Re: poudriere upgade perl in jail Message-ID: <20121222170836.5244ed8e@davenulle.org> In-Reply-To: <50D5D819.5020902@ose.nl> References: <50D5D819.5020902@ose.nl> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; i386-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 16:08:51 -0000 Le Sat, 22 Dec 2012 16:56:09 +0100, Bas Smeelen a йcrit : > I have poudriere setup on a server to compile packages for my old > laptop, mini, and some friends laptops and it works great. > > How can I upgrade the perl version of the poudriere jail to > perl-5.16, it is now perl-5.14? > > I tried startied the jail with poudriere jail -s -j and then try jail > command=portmaster -o lang/perl5.16 lang/perl5.14 but can't get this > to work. > > Should I just wipe the jail, then recreate and first build perl5.16 > in it before building the other packages? I think PERL_VERSION=5.16.X in the poudriere jail's make.conf will do the trick. Then you will have to rebuild all the poudriere packages (not sure if this is safe else) Regards. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 16:23:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58207CF1 for ; Sat, 22 Dec 2012 16:23:35 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id DA3918FC0C for ; Sat, 22 Dec 2012 16:23:34 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Sat, 22 Dec 2012 17:23:32 +0100 Message-ID: <50D5DE84.4060209@ose.nl> Date: Sat, 22 Dec 2012 17:23:32 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: poudriere upgade perl in jail References: <50D5D819.5020902@ose.nl> <20121222170836.5244ed8e@davenulle.org> In-Reply-To: <20121222170836.5244ed8e@davenulle.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 16:23:35 -0000 On 12/22/12 17:08, Patrick Lamaiziere wrote: > Le Sat, 22 Dec 2012 16:56:09 +0100, > Bas Smeelen a йcrit : > >> I have poudriere setup on a server to compile packages for my old >> laptop, mini, and some friends laptops and it works great. >> >> How can I upgrade the perl version of the poudriere jail to >> perl-5.16, it is now perl-5.14? >> >> I tried startied the jail with poudriere jail -s -j and then try jail >> command=portmaster -o lang/perl5.16 lang/perl5.14 but can't get this >> to work. >> >> Should I just wipe the jail, then recreate and first build perl5.16 >> in it before building the other packages? > I think PERL_VERSION=5.16.X in the poudriere jail's make.conf will do > the trick. > > Then you will have to rebuild all the poudriere packages (not sure if > this is safe else) Alright. Thanks! That did it. It looks like it deleted all perl5.14 dependent packages and is rebuilding them now with perl5.16.2 Great :) Maybe I should have asked the question before spending a day figuring out how. Merci beaucoup. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 17:48:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C46ABEA6 for ; Sat, 22 Dec 2012 17:48:49 +0000 (UTC) (envelope-from agapov.slava@gmail.com) Received: from mail-oa0-f43.google.com (mail-oa0-f43.google.com [209.85.219.43]) by mx1.freebsd.org (Postfix) with ESMTP id 831358FC0A for ; Sat, 22 Dec 2012 17:48:49 +0000 (UTC) Received: by mail-oa0-f43.google.com with SMTP id k1so5716863oag.2 for ; Sat, 22 Dec 2012 09:48:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=MfgtXAosn5E8lJORlDhQDgC+XOPM1Svzg08JIWwcR28=; b=IttCx/eWB6BdJ1JtAG0i6OityMsa7DTicV2+Bqe7rBj5DbG1bE+T8uPbuW+zoHSfh7 TFARJOh+Z6nz0dh43dv81i6KOSC3OnF9bUaTHVvoAu1uB8LWfeXUfBnwCd2nJ67brKgd k7w7p4vRI1LO1kmQj3s6I4AOnajB2ZwQce59OxStUxK4kgmcge3MSpTymlOPpL1WlziV KcO8ERpDWZaANP/U/SQSt2q0e40DDtO/5RpqzStz/yCkG1E1hbfrr5DSh3j4H0iVW+FK 7ez1qRihrNdrocJ5ULNDpURbW0vUV41wuh5al82Vje4ZW2lmGiPmHn2iGv5aD5nVEf8V MSgQ== MIME-Version: 1.0 Received: by 10.182.17.66 with SMTP id m2mr14228007obd.86.1356198523231; Sat, 22 Dec 2012 09:48:43 -0800 (PST) Received: by 10.182.112.193 with HTTP; Sat, 22 Dec 2012 09:48:43 -0800 (PST) Date: Sat, 22 Dec 2012 20:48:43 +0300 Message-ID: Subject: d-link dwa-125 up From: =?KOI8-R?B?99HexdPMwdcg4cfB0M/X?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 17:48:49 -0000 Hello. Help me up wifi router dlink dwa-125. My system. uname -a FreeBSD 9-stable kldload if_run kldload runfw kldstat 8 1 0xffffffff82628000 12a70 if_run.ko 9 1 0xffffffff8263b000 216c runfw.ko After insert usb dmesg ugen5.2: at usbus5 /var/log/messages root: Unknown USB device: vendor 0x2001 product 0x3c1e bus uhub5 I try this http://lists.freebsd.org/pipermail/freebsd-usb/2011-October/010707.html only got error in /usr/src/sys/dev/usb/usbdevs added product DLINK DWL125 0x3c1e DWL-125 in /usr/src/sys/dev/usb/usbdevs added RUN_DEV(DLINK, DWA125), error /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:175:5: error: use of undeclared identifier 'USB_PRODUCT_DLINK_DWA125' RUN_DEV(DLINK, DWA125), ^ /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:100:47: note: expanded from macro 'RUN_DEV' #define RUN_DEV(v,p) { USB_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##p) } ^ :148:1: note: expanded from macro 'USB_PRODUCT_' USB_PRODUCT_DLINK_DWA125 ^ @/dev/usb/usbdi.h:316:33: note: expanded from macro 'USB_VP' USB_VENDOR(vend), USB_PRODUCT(prod) ^ @/dev/usb/usbdi.h:313:42: note: expanded from macro 'USB_PRODUCT' .match_flag_product = 1, .idProduct = (prod) ^ /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:547:48: error: invalid application of 'sizeof' to an incomplete type 'const struct usb_device_id []' return (usbd_lookup_id_by_uaa(run_devs, sizeof(run_devs), uaa)); ^~~~~~~~~~ 2 errors generated. *** [if_run.o] Error code 1 How i cat start d-link dwa 125? Thanks From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 18:30:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9EAA7BB for ; Sat, 22 Dec 2012 18:30:35 +0000 (UTC) (envelope-from agapov.slava@gmail.com) Received: from mail-oa0-f50.google.com (mail-oa0-f50.google.com [209.85.219.50]) by mx1.freebsd.org (Postfix) with ESMTP id 661D88FC16 for ; Sat, 22 Dec 2012 18:30:35 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id n16so5739978oag.37 for ; Sat, 22 Dec 2012 10:30:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=bQWWAB23j/VWUyGebxvOviF+ZrvM0D8ikQM0PVavxYU=; b=GSSZ9Scsqudc0cni7JCV6fIGUCkbrU0113Yo/KfjQKp1PI1rXNSEgw8IiHcxIRy1iM pc3bP2zhhTiBVmhOrfwFlNheFj5p+cl8jjqlFET4gP88PUF+mIndqJbiWxj9kFhYloKy 8kmqHjsYEB94XhcyGEOuHlxPDj2RLtcuia5qpj31Ae5/NzyxaVtXEbLKCZgVaX+SOe5z zAd/cIyYFLieMphHy0Kizd9sotqgybmmqnq6UN/TdD34L8Xf7BKtG05uLjfVc63UD5kx sFvIorfxRqFGNVHBALRlbZd9O4gcN/7uYYv5dX5xyKGZJTK+acm2hRp0kMAktjDHH+ic 5p2w== MIME-Version: 1.0 Received: by 10.60.0.136 with SMTP id 8mr2277856oee.35.1356201029365; Sat, 22 Dec 2012 10:30:29 -0800 (PST) Received: by 10.182.112.193 with HTTP; Sat, 22 Dec 2012 10:30:29 -0800 (PST) In-Reply-To: References: Date: Sat, 22 Dec 2012 21:30:29 +0300 Message-ID: Subject: Re: d-link dwa-125 up From: =?KOI8-R?B?99HexdPMwdcg4cfB0M/X?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 18:30:35 -0000 I found my mistake. Now it worked. in /usr/src/sys/dev/usb/usbdevs added product DLINK DWA125 0x3c1e DWA-125 in /usr/src/sys/dev/usb/usbdevs added RUN_DEV(DLINK, DWA125), and then cd /usr/src/sys/modules/usb/run make 2012/12/22 =F7=D1=DE=C5=D3=CC=C1=D7 =E1=C7=C1=D0=CF=D7 > Hello. > > Help me up wifi router dlink dwa-125. > My system. > uname -a > FreeBSD 9-stable > > kldload if_run > kldload runfw > > kldstat > 8 1 0xffffffff82628000 12a70 if_run.ko > 9 1 0xffffffff8263b000 216c runfw.ko > > After insert usb > dmesg > ugen5.2: at usbus5 > > /var/log/messages > root: Unknown USB device: vendor 0x2001 product 0x3c1e bus uhub5 > > I try this > http://lists.freebsd.org/pipermail/freebsd-usb/2011-October/010707.html > only got error > in /usr/src/sys/dev/usb/usbdevs added > product DLINK DWL125 0x3c1e DWL-125 > > in /usr/src/sys/dev/usb/usbdevs added > RUN_DEV(DLINK, DWA125), > > error > /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:175:5: > error: use of undeclared identifier 'USB_PRODUCT_DLINK_DWA125' > RUN_DEV(DLINK, DWA125), > ^ > /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:100:47: > note: expanded from macro 'RUN_DEV' > #define RUN_DEV(v,p) { USB_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##p) } > ^ > :148:1: note: expanded from macro 'USB_PRODUCT_' > USB_PRODUCT_DLINK_DWA125 > ^ > @/dev/usb/usbdi.h:316:33: note: expanded from macro 'USB_VP' > USB_VENDOR(vend), USB_PRODUCT(prod) > ^ > @/dev/usb/usbdi.h:313:42: note: expanded from macro 'USB_PRODUCT' > .match_flag_product =3D 1, .idProduct =3D (prod) > ^ > /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:547:48: > error: invalid application of 'sizeof' to an incomplete type 'const struc= t > usb_device_id []' > return (usbd_lookup_id_by_uaa(run_devs, sizeof(run_devs), uaa)); > ^~~~~~~~~~ > 2 errors generated. > *** [if_run.o] Error code 1 > > How i cat start d-link dwa 125? > Thanks >