From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 01:00:49 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 90DCA106564A for ; Sun, 22 Jul 2012 01:00:49 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 45F7B8FC08 for ; Sun, 22 Jul 2012 01:00:49 +0000 (UTC) Received: by vcbgb22 with SMTP id gb22so2113236vcb.13 for ; Sat, 21 Jul 2012 18:00:48 -0700 (PDT) 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=lS2vHdgT1OKtfbWZvTxQ5yjodJVNyY05hmhF6+/w9jI=; b=IzivdkWhHyUWHnhGQgNvG28hgVgI4c7lMy+zjalsTySehZSkqiLRhz1auF1rlrYPB3 9CkTIOcX/7aU9X3FRShJlAXYht5knZsi3jkwII8jqX0m1li+i4zuRTk7sayQ3TO/nvZb tVYsKL36aDMScKWNkqftaK+4ELPlTzM/lXVBRCCfaVq8AQjlYZNjCfxawBridW/3pqBq i6myXAVxD4dxXFvCywDYliilzDYcL/+Z5iLwQsdzTOYNT0LD37G3XbpRTa7zGPkwqWlt JlOG3IGTAeFPmOtTMJl2SPjd9OGFJh80hZf1k40IrN0xo+sZ8uohI6919NAZFfgSp7mU 9Nww== MIME-Version: 1.0 Received: by 10.52.179.129 with SMTP id dg1mr7399791vdc.71.1342918848338; Sat, 21 Jul 2012 18:00:48 -0700 (PDT) Received: by 10.52.184.201 with HTTP; Sat, 21 Jul 2012 18:00:48 -0700 (PDT) In-Reply-To: <5007AF61.4090207@locolomo.org> References: <5007AF61.4090207@locolomo.org> Date: Sat, 21 Jul 2012 19:00:48 -0600 Message-ID: From: Modulok To: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Content-Type: text/plain; charset=ISO-8859-1 Cc: questions@freebsd.org Subject: Re: Help solving the sysadm's nightmare X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 01:00:49 -0000 > I have inherited a problem that is no cause for envy, the previous > administrators had no idea what they were doing, so problems with a > permission denied would be solved by chown -R 777 /whatever! Needless to > say, it's a mess, and ofcourse everything is "critical" there is no room > for interruption of service. > > Now, I have no idea which processes actually require access to those > files, what privileges these processes run with and which files are > actually executable or just plain files. > > What I know is that lots of files are on samba shares and lots of files > are used by uniface9 application, but I don't know much about uniface or > if this is actually executed on the client or on the server. > > At this moment my project is to migrate servers with these permissions > to new servers, but those who prepared the OS have maintained the > permissions from the older version because it's easier than actually > investigating or understanding what's going on and find a solution. *sigh* > > So, how can I > > - determine if files are actually unix executables or just plain files > (or windows executables)? > - determine which users actually need read or write access to these files? > > the second is what I think is the most difficult, I need some lsof > daemon to log access... > Sounds like a disaster. You're going to have to weigh out the risks of not doing anything and being compromised vs. trying to fix it and breaking something. Depending on how involved you want to get, much coffee may be required. Here's some thorny ideas: First, take a snap shot of the file system if you can. That way if things get screwed up you can always revert back to a previous state. That is, if the data is read-only. (*Evil laugh*) If you can, experiment with this snapshot on a test box. If not, keep reading... You could call lsof from a script repeatedly (or use lsof's own reapeat functionality) for several days/weeks/whatever. Then parse the output to produce a list of unique files, how they're being accessed and by who. Get familiar with the lsof manual page, especially the section about 'OUTPUT FOR OTHER PROGRAMS'. You might insert your results into a file-backed sqlite database that you can later interrogate from a script via SQL queries. Also, crawl the file system and generate *another* sql table, or even flat file of permissions as they currently exist. This way you can, in theory, always go back to how things were, if needed. Of course, you'll need to write a script to do this permission-restore business too. >From there, crawl the first SQL table that you made of file access and set permissions on those files appropriately. e.g: a file being accessed read/write probably needs to be set read/write. This will be a job for another script. You can also build a table of file permissions for known files e.g: /etc/master.passwd should be root read/write and so on. You can build up your initial database of known permissions by parsing a clean install with the same scripts you just wrote. Also see the 'file' command to help identify executables. Obviously, you're going to have to be very careful. (Again, have the backup and preferably the script that restores file permissions to what they were, first.) Sounds like a job for python ;) Finally, remember to *thoroughly* test your scripts on an dummy system first! Perhaps a virtual box install where you don't have to worry about screwing things up. The last thing you want, is to get fired for trying to fix someone else's mistake. Tread carefully. Talk to the boss/owner/client about the pros, cons and risks before taking on such a project. Good luck with your nightmare. -Modulok- From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 06:38: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 097B2106564A for ; Sun, 22 Jul 2012 06:38:24 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 8CA4D8FC14 for ; Sun, 22 Jul 2012 06:38:23 +0000 (UTC) Received: from [188.174.214.14] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Sspo5-0000nm-8p; Sun, 22 Jul 2012 08:38:21 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q6M6cJD2002524; Sun, 22 Jul 2012 08:38:19 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q6M6cIn4002523; Sun, 22 Jul 2012 08:38:18 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 22 Jul 2012 08:38:18 +0200 From: Matthias Apitz To: Chuck Swiger Message-ID: <20120722063818.GA2445@tinyCurrent> References: <20120721155922.GA4774@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.214.14 Cc: freebsd-questions@freebsd.org Subject: Re: setting up an openssl client/server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 06:38:24 -0000 El día Saturday, July 21, 2012 a las 11:46:52AM -0700, Chuck Swiger escribió: > On Jul 21, 2012, at 8:59 AM, Matthias Apitz wrote: > > Then I copy over the files client.pem and server.pem to the example > > software: > > > > $ cp server.pem client.pem openssl-examples-20020110 > > You also need to copy server.key and client.key. Thanks for your hints. After the procedure described in my first mail, I have the following files in that dir: $ ls -ltr *.* -rw-r--r-- 1 guru wheel 963 21 jul 17:31 privkey.pem -rw-r--r-- 1 guru wheel 993 21 jul 17:31 ca.pem -rw-r--r-- 1 guru wheel 887 21 jul 17:32 server.key -rw-r--r-- 1 guru wheel 603 21 jul 17:33 server.req -rw-r--r-- 1 guru wheel 887 21 jul 17:35 client.key -rw-r--r-- 1 guru wheel 603 21 jul 17:36 client.req -rw-r--r-- 1 guru wheel 745 21 jul 17:36 client.pem -rw-r--r-- 1 guru wheel 745 21 jul 18:08 server.pem -rw-r--r-- 1 guru wheel 3 21 jul 18:08 file.srl I followed your hint and copied as well server.key and client.key: $ cp server.key client.key openssl-examples-20020110 and put the server.key into the PEM file: $ cat server.key server.pem > openssl-examples-20020110/server.pem the example server expects the file in the current dir, I go to it: $ cd openssl-examples-20020110 but now it is missing the CA file: $ ./wserver Can't read CA list 2478:error:02001002:system library:fopen:No such file or directory:/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:126:fopen('root.pem','r') 2478:error:2006D080:BIO routines:BIO_new_file:no such file:/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:129: 2478:error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib:/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/x509/by_file.c:274: as a guess I copied the CA file as: $ cp ../ca.pem root.pem with the result: $ ./wserver Couldn't open DH file 2483:error:02001002:system library:fopen:No such file or directory:/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:126:fopen('dh1024.pem','r') 2483:error:2006D080:BIO routines:BIO_new_file:no such file:/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:129: but I have no file dh1024.pem :-( What it is missing, as well in the pages of www.openssl.org and www.freebsd.org, is a complete step by step guide to make certificates and keys to SSL a simple client/server communition, or at least I can't see them. Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 07:24:40 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F996106566C for ; Sun, 22 Jul 2012 07:24:40 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 79C7B8FC14 for ; Sun, 22 Jul 2012 07:24:39 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6M7Obn4003963; Sun, 22 Jul 2012 09:24:37 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6M7Ob3e003960; Sun, 22 Jul 2012 09:24:37 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 22 Jul 2012 09:24:37 +0200 (CEST) From: Wojciech Puchar To: Modulok In-Reply-To: Message-ID: References: <5007AF61.4090207@locolomo.org> 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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 22 Jul 2012 09:24:38 +0200 (CEST) Cc: questions@freebsd.org Subject: Re: Help solving the sysadm's nightmare X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 07:24:40 -0000 > Good luck with your nightmare. if i would be in his case i would first not touch it and then slowly analyze EVERYTHING that is used on that system, and ask users how exactly they use it (i mean shared folders etc). Then i will step by step fix things to proper state, waiting for complaints after each step. if former "admin" did such things with permissions certainly he did many more stupid things. Certainly few things MUST be just done completely differently, not just different permissions. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 07:27: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 D78F8106566C for ; Sun, 22 Jul 2012 07:27:39 +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 8C4698FC0A for ; Sun, 22 Jul 2012 07:27:39 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SsqZh-00057N-VT for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 09:27:34 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jul 2012 09:27:33 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jul 2012 09:27:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Sun, 22 Jul 2012 07:27:23 +0000 (UTC) Lines: 76 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.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; FreeBSD i386; rv:13.0) Gecko/20100101 Firefox/13.0.1) Subject: Re: Security - linker env variables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 07:27:39 -0000 jb gmail.com> writes: > ... > Search results (do it yourself): > $ grep -r LD_RUN_PATH /usr/ports/ This is an output of search done on a fresh copy of /usr/ports/ : /usr/ports/devel/kdevelop/files/patch-appwizard-libtool: runpath_var=LD_RUN_PATH ... /usr/ports/games/xflame/files/patch-aa:! LD_RUN_PATH += /usr/ports/games/xflame/files/patch-aa:! export LD_RUN_PATH /usr/ports/games/xflame/files/patch-aa:! #LD_RUN_PATH += /usr/ports/games/xflame/files/patch-aa:! # export LD_RUN_PATH /usr/ports/japanese/FreeWnn-lib/files/patch-aclocal.m4: runpath_var=LD_RUN_PATH ... /usr/ports/japanese/FreeWnn-lib/files/patch-configure:+ runpath_var=LD_RUN_PATH ... /usr/ports/japanese/FreeWnn-server/files/patch-aclocal.m4: runpath_var=LD_RUN_PATH ... /usr/ports/japanese/FreeWnn-server/files/patch-configure: runpath_var=LD_RUN_PATH ... /usr/ports/japanese/xjtext/files/patch-aa:+ LD_RUN_PATH=${LOCALBASE}/lib/ ${CC} ${OBJS} ${LIBDIRS} ${LIBS} ${IMLIBS}\ ... /usr/ports/lang/moscow_ml/Makefile: LD_RUN_PATH="${PREFIX}/lib /mosml" /usr/ports/lang/moscow_ml/files/pkg-message.in:Note that this port is build with LD_RUN_PATH=%%PREFIX%%/lib/mosml, ... /usr/ports/math/wingz3/files/Wingz3:# and the ${WINGZ3}/bin/wzenv (yes, it does set the LD_RUN_PATH, /usr/ports/math/wingz3/files/Wingz3:LD_RUN_PATH=$WINGZ3 /lib/$WZPLATFORM:$LD_RUN_PATH ... /usr/ports/print/ghostscript7/files/patch-src:unix-gcc.mak: # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH /usr/ports/print/ghostscript8/files/patch-base-unix-gcc.mak: # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH /usr/ports/print/ghostscript9/files/patch-base-unix-gcc.mak: # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH ... /usr/ports/x11-toolkits/blt/files/patch-src-shared-Makefile.in:+SHLIB_LD_FLAGS = @SHLIB_LD_FLAGS@ @LD_RUN_PATH@ @LIB_SPECS@ $ NOTE that individual port sources (downloaded distfiles) will include LD_RUN_PATH as well, for example: # grep -r LD_RUN_PATH /usr/ports/irc/xchat/work/xchat-2.8.8/ /usr/ports/irc/xchat/work/xchat-2.8.8/configure: runpath_var=LD_RUN_PATH ... /usr/ports/irc/xchat/work/xchat-2.8.8/aclocal.m4: dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH /usr/ports/irc/xchat/work/xchat-2.8.8/aclocal.m4: runpath_var=LD_RUN_PATH ... /usr/ports/irc/xchat/work/xchat-2.8.8/configure.orig: runpath_var= LD_RUN_PATH ... /usr/ports/irc/xchat/work/xchat-2.8.8/configure.bak: runpath_var=LD_RUN_PATH ... /usr/ports/irc/xchat/work/xchat- 2.8.8/config.status:variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH' /usr/ports/irc/xchat/work/xchat-2.8.8/config.status:runpath_var='LD_RUN_PATH' /usr/ports/irc/xchat/work/xchat-2.8.8/libtool:variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" /usr/ports/irc/xchat/work/xchat-2.8.8/libtool:runpath_var=LD_RUN_PATH # jb From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 07:37:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4ED9106566B for ; Sun, 22 Jul 2012 07:37:09 +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 F1D0F8FC0C for ; Sun, 22 Jul 2012 07:37:08 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q6M7ax1Y093584 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 22 Jul 2012 08:36:59 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q6M7ax1Y093584 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1342942619; bh=7wSfGOnQygZ3BIExRJDri2tNOdbIINnRt9eRuLiBo4U=; h=Date:From:To:Subject:References:In-Reply-To:Cc:Content-Type: Message-ID:Mime-Version; b=hFNg4pnEJXFrdxT15vs/wmGNnvUAzPU0OuUdUlsPViaOrCY6h7h7j8HpfdMAPmu8X lbo1hniZBPXFc16dJsjsxbm0Km6Ht6jscs3EL2MV1DBI1HEDfSXQ7a2NQw0xY0GSj2 aVOfh10ImrMiV4Bk1ZIbHp1ngbcx02YDhWxv79xk= Message-ID: <500BAD93.5080007@infracaninophile.co.uk> Date: Sun, 22 Jul 2012 08:36:51 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120721155922.GA4774@tinyCurrent> <20120722063818.GA2445@tinyCurrent> In-Reply-To: <20120722063818.GA2445@tinyCurrent> X-Enigmail-Version: 1.4.3 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig089DD87A9A523B875322554B" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_ADSP_ALL,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 Subject: Re: setting up an openssl client/server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 07:37:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig089DD87A9A523B875322554B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 22/07/2012 07:38, Matthias Apitz wrote: > What it is missing, as well in the pages of www.openssl.org and > www.freebsd.org, is a complete step by step guide to make certificates > and keys to SSL a simple client/server communition, or at least I can't= > see them. I've found TinyCA (ports: security/tinyca) to be simple and easy to use for setting up a personal certification authority. Just remember not to fill in the e-mail field when creating a HTTPS server cert if you want the filename of the cert to be based on the site URL. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig089DD87A9A523B875322554B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlALrZsACgkQ8Mjk52CukIyRaACeNkFq+/66PoNZHNW9jMD16QL9 fZ8AnRvpt+YL9LB8Ye3EvSTBKssgEj0A =291Q -----END PGP SIGNATURE----- --------------enig089DD87A9A523B875322554B-- From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 08:59:15 2012 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86C08106566C for ; Sun, 22 Jul 2012 08:59:15 +0000 (UTC) (envelope-from comnetboy@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0A6FE8FC0A for ; Sun, 22 Jul 2012 08:59:11 +0000 (UTC) Received: by lbon10 with SMTP id n10so8426958lbo.13 for ; Sun, 22 Jul 2012 01:59:10 -0700 (PDT) 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=DV7KrxAvuZ9v5dh/Vs/aeUz62RMvpdCgidzO+rdZG0Y=; b=JdeL3dd62exn2iKQBF2SgNqegoqa950SHfMKXWOqrIowzj97hqs/a1HnZJ9kX80XMe AhQ0gLAr0jhf6Xr7IEThOLqCocRvfCa93N9sY3z4X7P1p8Vg9b1MIgXj5EcHnlRlw96b 0OrGdFV6WqGH0+5SrdmiQ14jO1bLkazY3Hv/xZzqnBsA+azCLNrexn6kUbcrFgzl7mJU b8isSj2hqOTmaXo/SPWOVcpeWW5FSbP3zLdozzn7mR1QD6E4sWwQD6deY8kcNSNNoW1m ygGjyKmxOHzMFCMkT+BdvBrikBDyb11yXMBcCg5oNhMxsPcgAWrh3bmsXhzwXDlmJQFJ r8LQ== MIME-Version: 1.0 Received: by 10.112.23.7 with SMTP id i7mr2343784lbf.85.1342947550711; Sun, 22 Jul 2012 01:59:10 -0700 (PDT) Received: by 10.112.61.3 with HTTP; Sun, 22 Jul 2012 01:59:10 -0700 (PDT) Date: Sun, 22 Jul 2012 13:29:10 +0430 Message-ID: From: Computer Network Man To: FreeBSD-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Radius Attribute "acct-interim-interval" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 08:59:15 -0000 Dear All; I found FreeBSD powerful and started using it. But I'm new in it and have some questions? where is the best place for asking? For example I have installed poptop on freebsd 8.2 and it's a pptp (vpn) server(My NAS Server). But it uses an external Radius server for auth and acct. I have set the radius attribute "acct-interim-interval=60sec" in radius but the NAS doesn't send interim updates. Can anyone help me? Thanks in advance comnetboy From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 09:53: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 6CA75106564A for ; Sun, 22 Jul 2012 09:53:35 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 1021C8FC08 for ; Sun, 22 Jul 2012 09:53:34 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6M9stCG021928; Sun, 22 Jul 2012 04:54:55 -0500 (CDT) Date: Sun, 22 Jul 2012 04:54:55 -0500 (CDT) From: Robert Bonomi Message-Id: <201207220954.q6M9stCG021928@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, leslie@eskk.nu In-Reply-To: <500ABECA.5010404@eskk.nu> Cc: Subject: Re: Power failure during portsnap fetch update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 09:53:35 -0000 > From owner-freebsd-questions@freebsd.org Sat Jul 21 09:40:20 2012 > Date: Sat, 21 Jul 2012 16:38:02 +0200 > From: Leslie Jensen > To: freebsd-questions@freebsd.org > Subject: Power failure during portsnap fetch update > > > My file system /usr/ports/net go damaged > > I've done fsck -F in single user mode but there are warnings about not > being able to fix this. "Insufficient Data" for a meaningful response. *sigh* _Exactly_ WHAT the command line used was, and *WHAT* the exact text of the error message says is needed before anyone can help. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 09:54:55 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35EA21065678 for ; Sun, 22 Jul 2012 09:54:55 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp2.insight.synacor.com [208.47.185.24]) by mx1.freebsd.org (Postfix) with ESMTP id EFE708FC17 for ; Sun, 22 Jul 2012 09:54:54 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=kentp5yz33NvHhcmLbQZg57pLLFred7bJyyPxhtTO5M= c=1 sm=0 a=OpyC5CJKO_AA:10 a=jLN7EqiLvroA:10 a=tc69YSrnAAAA:8 a=Fr8x0r-PAAAA:8 a=ycat7GrE1JtA4IVdiXwA:9 a=p91V9-deMQsA:10 a=rh--uSKwOSjeBykV:21 a=GjzXvVOAi7OkCcve:21 a=Q/oqmR4JO1zR3vNQamCQeQ==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Authentication-Results: smtp02.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Received-SPF: softfail (smtp02.insight.synacor.com: transitional domain insightbb.com does not designate 74.134.26.53 as permitted sender) Received: from [74.134.26.53] ([74.134.26.53:34559] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id BF/8B-02728-15DCB005; Sun, 22 Jul 2012 05:52:18 -0400 Date: Sun, 22 Jul 2012 05:52:17 -0400 Message-ID: From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 09:54:55 -0000 Regarding the security of various methods of deleting data, I just saw in Office Depot's online ad for the coming week, which is the reason I couldn't post this any earlier: Need to discard an old PC but worried about protecting your identity? Let us securely erase your personal files and pictures for only $49.99. We use the only permanent data deletion software certified by NIAP, used by the Department of Defense and Fortune 500 Companies. (quoting verbatim but formatting not preserved) URL was http://officedepot.shoplocal.com/OfficeDepot/BrowseByPage?storeid=2501355&promotionviewmode=1&promotioncode=OfficeDepot-120722&listingid=0&sneakpeek=N# Personally, I'd save the money, time and gasoline too, and use dd if=/dev/zero of=/dev/(disk-to-be-deleted) bs=1M from FreeBSD or other (quasi)-Unix OS. Or if that's not good enough, DBAN which is on the System Rescue CD (sysresccd.org). I suppose the average MS-Windows user is not aware of these money-saving methods. Tom From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 10:36:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 351AE1065670 for ; Sun, 22 Jul 2012 10:36:38 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id E52018FC15 for ; Sun, 22 Jul 2012 10:36:37 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6MAc8kW022215 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 05:38:08 -0500 (CDT) Date: Sun, 22 Jul 2012 05:38:08 -0500 (CDT) From: Robert Bonomi Message-Id: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 10:36:38 -0000 > Date: Sun, 22 Jul 2012 05:52:17 -0400 > From: "Thomas Mueller" > Subject: Re: fsck on FAT32 filesystem? > > Regarding the security of various methods of deleting data, I just saw in > Office Depot's online ad for the coming week, which is the reason I > couldn't post this any earlier: > > Need to discard an old PC but worried about protecting your identity? > > Let us securely erase your personal files and pictures for only $49.99. > > We use the only permanent data deletion software certified by NIAP, used > by the Department of Defense and Fortune 500 Companies. > > (quoting verbatim but formatting not preserved) > > URL was > > http://officedepot.shoplocal.com/OfficeDepot/BrowseByPage?storeid=2501355& > promotionviewmode=1&promotioncode=OfficeDepot-120722&listingid=0&sneakpeek > =N# > > Personally, I'd save the money, time and gasoline too, and use dd > if=/dev/zero of=/dev/(disk-to-be-deleted) bs=1M > > from FreeBSD or other (quasi)-Unix OS. Needless to say, that approach doesn't work under Windows. For *most* users, that approach _is_ probably adewuate. *if* the have the know-how to use it. However, for a _lot_ of end users, the situation is not quite that simple. Trying to wipe the disk that the O/S is running from is fraught with unexpected failure modes. Lots of 'end user' machines have only _one_ drive in them, and the users do not have any other 'bootable' media available, that they know how to use. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 11:45:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A49DD106564A for ; Sun, 22 Jul 2012 11:45:05 +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 8F6438FC12 for ; Sun, 22 Jul 2012 11:45:05 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ssuat-0001xU-DE for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 13:45:03 +0200 Received: from bsd1.hq.steg0.eu ([82.139.199.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jul 2012 13:45:03 +0200 Received: from rs by bsd1.hq.steg0.eu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jul 2012 13:45:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Raimund Steger Date: Sun, 22 Jul 2012 13:40:22 +0200 Lines: 40 Message-ID: <500BE6A6.401@mytum.de> References: <20120721155117.GA48493@skytracker.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bsd1.hq.steg0.eu User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:14.0) Gecko/20120706 Firefox/14.0 SeaMonkey/2.11 In-Reply-To: <20120721155117.GA48493@skytracker.ca> Subject: Re: error compiling mplayer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 11:45:06 -0000 Hi, David Banning wrote: > getting this error on compile of mplayer; > > /usr/local/lib/libgdk-x11-2.0.so: undefined reference to `XRRGetScreenResourcesCurrent' > /usr/local/lib/libgdk-x11-2.0.so: undefined reference to `XRRGetOutputPrimary' > collect2: ld returned 1 exit status > gmake: *** [mplayer] Error 1 > *** Error code 1 > > Stop in /usr/ports/multimedia/mplayer. > *** Error code 1 > > I wonder if anyone could direct me as to how I could collect more information > to resolve this. > > FreeBSD version is 8.2 That doesn't look like a problem with mplayer per se, rather with your GTK or XRANDR install. What do the following commands return: nm -D /usr/local/lib/libgdk-x11-2.0.so|grep XRRGetOutputPrimary nm -D /usr/local/lib/libXrandr.so|grep XRRGetOutputPrimary Additionally, a somewhat larger snippet of your compilation output would be helpful, where at least the linker invocation that triggered that error occurs. I'm running 8.2 here as well and can compile mplayer (from SVN, rev. 35044) with GTK GUI just fine. (Is this by any chance related to http://thread.gmane.org/gmane.os.freebsd.questions/288260 ?) Raimund From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 11:56: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 DB3DF106566B for ; Sun, 22 Jul 2012 11:56:30 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward3h.mail.yandex.net (forward3h.mail.yandex.net [84.201.187.148]) by mx1.freebsd.org (Postfix) with ESMTP id 80CA58FC08 for ; Sun, 22 Jul 2012 11:56:30 +0000 (UTC) Received: from smtp2h.mail.yandex.net (smtp2h.mail.yandex.net [84.201.187.145]) by forward3h.mail.yandex.net (Yandex) with ESMTP id 6E1F51364633 for ; Sun, 22 Jul 2012 15:55:53 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1342958153; bh=mqLsQjg4B6BryDr/FB+czyuQoXfIqjLkjdrdqCLEqR8=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=fV6IBzhdEe4DGpm/qzocX9aO42RdHHuXL4OSdiDsCc6xkiDmLGa6rRC6C5HyRgjD6 b7bY/RlXS8Df1Rmc+u6nmkGKdu3mdTg8PWDKsvFid5jkicbOjMnKVHpCN6B2PyPC8W 02fCF4lA145kSj729T2KIMmDZOCDIyjxKKEHtpsU= Received: from smtp2h.mail.yandex.net (localhost [127.0.0.1]) by smtp2h.mail.yandex.net (Yandex) with ESMTP id 518DB170006C for ; Sun, 22 Jul 2012 15:55:53 +0400 (MSK) Received: from unknown (unknown [77.93.52.20]) by smtp2h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id tqXi0X23-tqXibreu; Sun, 22 Jul 2012 15:55:52 +0400 X-Yandex-Rcpt-Suid: freebsd-questions@FreeBSD.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1342958153; bh=mqLsQjg4B6BryDr/FB+czyuQoXfIqjLkjdrdqCLEqR8=; h=Date:From:X-Mailer:Reply-To:Organization:X-Priority:Message-ID:To: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Zo4JssSj3ABjDRNj5r8pJ5vDDgme8K4N5FHNmtotlqQxSHX04oe0N7Px5XZ0s31fN qhegQXmIHSbvo5wiX6pzE+1V0VnFjd+PpSRTBS0E6TJlZwv39j2syOqHGSwSLRQ1Wh 0+iNRvJrZiTRc2gXb4+SgbvQeAcHkka2TYwUA/Ek= Date: Sun, 22 Jul 2012 14:55:46 +0300 From: Eugen Konkov X-Mailer: The Bat! (v4.0.24) Professional Organization: ISP FreeLine X-Priority: 3 (Normal) Message-ID: <1805671698.20120722145546@yandex.ru> To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: Subject: ipfw counters for tables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Jul 2012 11:56:31 -0000 Hi I use ipfw tables to allow host to access to internet. is there counter for matched packets/bytes for table entry like for ipfw rule? #ipfw show 901 rule packets bytes 00901 302271108 27717115967 allow ip from 10.10.1.3 to any #ipfw table 7 list ---table(7)--- 10.7.60.41/32 100 No counters here ((( -- Eugen mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 12:20: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 31CFD106566B for ; Sun, 22 Jul 2012 12:20:26 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id F391D8FC08 for ; Sun, 22 Jul 2012 12:20:16 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6MCJmjJ001634; Sun, 22 Jul 2012 14:19:51 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6MCJhwk001631; Sun, 22 Jul 2012 14:19:46 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 22 Jul 2012 14:19:43 +0200 (CEST) From: Wojciech Puchar To: Thomas Mueller 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 22 Jul 2012 14:19:53 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 12:20:26 -0000 > > Let us securely erase your personal files and pictures for only $49.99. and securely copy everything interesting before. That's truly funny. Someone DO CARE about his/her data being deleted, and... lets someone else in random shop to do this. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 13:29: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 A9C8F106566B for ; Sun, 22 Jul 2012 13:29:26 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 35D308FC15 for ; Sun, 22 Jul 2012 13:29:26 +0000 (UTC) Received: from [188.174.214.14] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SswDs-0002P1-R6 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 15:29:25 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q6MDTN1j007556 for ; Sun, 22 Jul 2012 15:29:23 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q6MDTMkk007555 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 15:29:22 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 22 Jul 2012 15:29:22 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20120722132922.GA7524@tinyCurrent> References: <20120721155922.GA4774@tinyCurrent> <20120722063818.GA2445@tinyCurrent> <500BAD93.5080007@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <500BAD93.5080007@infracaninophile.co.uk> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.214.14 Subject: Re: setting up an openssl client/server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 13:29:26 -0000 El día Sunday, July 22, 2012 a las 08:36:51AM +0100, Matthew Seaman escribió: > On 22/07/2012 07:38, Matthias Apitz wrote: > > What it is missing, as well in the pages of www.openssl.org and > > www.freebsd.org, is a complete step by step guide to make certificates > > and keys to SSL a simple client/server communition, or at least I can't > > see them. > > I've found TinyCA (ports: security/tinyca) to be simple and easy to use > for setting up a personal certification authority. Just remember not to > fill in the e-mail field when creating a HTTPS server cert if you want > the filename of the cert to be based on the site URL. > Thanks for the hint, but this did not help, it (perl) dumps core; and as well it does no help to dig into the details. With Google I found out how to build new certificates for the example code (works now) and I'm still trying to understand all the details. Here is for the records how one can get it working; matthias configure and compile the source using openssl from the ports: $ tar xzf openssl-examples-20020110.tar.gz $ cd openssl-examples-20020110 $ ./configure --with-openssl=/usr/local/openssl\ --with-openssl-inc=/usr/local/include\ --with-openssl-lib=/usr/local/lib $ make generate new certs and keys as described here: http://www.gentoo-wiki.info/OpenSSL (the text below is from the above web site with some changes for FreeBSD) First step Inside the example code directory openssl-examples-20020110 do ( for FreeBSD use 'openssl' from /usr/local/bin ) $ PATH=/usr/local/bin:$PATH $ mkdir newca $ cd newca ( orig: $ cp /etc/ssl/misc/CA.sh . ) for FreeBSD port of openssl use: $ cp /usr/local/openssl/misc/CA.sh . $ ./CA.sh -newca will create a new CA. Remember the passphrase as you will need it to sign certificates. $ cp demoCA/cacert.pem ../root.pem Second step $ ./CA.sh -newreq will create a certificate and a certification request. Set the passphrase to 'password' as this is hard-coded in the examples' source code. It is important to set the [Common Name] to 'localhost'. Third step $ ./CA.sh -sign will sign your newly created certificate. Enter the password for your CA which you have defined in step 1. Fourth step $ cat newreq.pem newkey.pem newcert.pem > ../localhost.pem $ cd .. $ ln -s localhost.pem server.pem $ ln -s localhost.pem client.pem Maybe you also want to issue $ openssl dhparam 1024 -2 -out dh1024.pem -outform PEM in order to update the DH parameters. The above setup will only work for local testing. If you want to use OpenSSL to connect between different hosts, you either have to disable the common name and host name comparison in client.c in order to be able to use the same certificate on all hosts which may pose a security problem, or repeat steps two and three above with the correct host names (FQDN - fully qualified domain name, ie. host name plus domain name) instead of 'localhost'. Final note: if the SSL_get_verify_result() method in client.c returns the error code 10 (outdated certificate), also check the CA's certificate (root.pem) expiration date! In my case, I tried to set the expiration time 100 years in the future -- which resulted in a point of time in the past possibly due to a number overflow. -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 14:16: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 42044106564A for ; Sun, 22 Jul 2012 14:16:04 +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 C2E028FC15 for ; Sun, 22 Jul 2012 14:16:03 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id E3936E6270; Sun, 22 Jul 2012 15:17:45 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=hpyRRhPjDM3B k/E4ZOrWMUsK1Es=; b=B6vN6GKfR4vv/kH5mZkzXRqv2pJ/lsnrgf1ozvMW/ADI K+I3O1mGL03iod9409spzsDjhML+4sUq74i2MyOJzDySqRXDVA0ZMBMdhGfteIjJ WPbRzbSneeETrd7772EhXV84O30usiHit2Nf/EfDwUXQvigNDHxRyIuqTiM4bx8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=vlGfLO T/4NZ7q+G/CwmWn+/R2Hk5fzYGBER9KxA+SgmjSefua5sEBNg3FLkdPf0MrPd3Gt qmK+QMEAcFOJcbjkWDAgFZ+UsEoDq5jneHtRpb7axGGxNpz/1j15tPFKNUjbHpWe jN3W5CTbml3QTzMV/3tBQ05rH0CJkRu56Jfzs= Received: from [192.168.2.11] (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 C668DE626F; Sun, 22 Jul 2012 15:17:45 +0100 (BST) Message-ID: <500C0B21.3020001@cran.org.uk> Date: Sun, 22 Jul 2012 15:16:01 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Robert Bonomi References: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> In-Reply-To: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 14:16:04 -0000 On 22/07/2012 11:38, Robert Bonomi wrote: > Needless to say, that approach doesn't work under Windows. 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can just write a load of zeros to \\.\PhysicalDrive0 . -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 14:41:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E40E0106564A for ; Sun, 22 Jul 2012 14:41:58 +0000 (UTC) (envelope-from yanglei.fage@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9CE438FC17 for ; Sun, 22 Jul 2012 14:41:58 +0000 (UTC) Received: by qaat11 with SMTP id t11so827947qaa.13 for ; Sun, 22 Jul 2012 07:41:58 -0700 (PDT) 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=B3Mxad6jqrJyy5V1yC9JKhGPwhmMx40W7bNpumR6igA=; b=xCwT9dQmGQE6frxVOK9ofaTGyTCOM3iZQD/zaIxBnZkzfPGzj6+xsSZxInREnwEmrl 7/spFoWT4fWhJfuIViAskMnuw8lyc0PbqFEH2COTE8sQbwfHeXvsCi3d1KVTeggWoSrW ZLADwuuJbeVZHuJO9ZNhkC0c43MlUBkg+WPLclFXJ2BBdEPoEyX0j6kDZ0zq8YgVywTS 8klNbeCuPmtYNBsvZpmhaBCve/mgjRqllhV4SsHXy5SWmR4V+H+SC9zUJDhnawiVj3rp CZBXdvGAQtg949TPvt9h2Y/5GH6KiTJCKfzXBQV3wnOGVHqdeKb+0J1ANkNMw+HfLfVj 5HYA== MIME-Version: 1.0 Received: by 10.224.187.136 with SMTP id cw8mr20084744qab.70.1342968117925; Sun, 22 Jul 2012 07:41:57 -0700 (PDT) Received: by 10.229.169.132 with HTTP; Sun, 22 Jul 2012 07:41:57 -0700 (PDT) Date: Sun, 22 Jul 2012 22:41:57 +0800 Message-ID: From: lei yang To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 14:41:59 -0000 Hi, I want to build a "netcat" on my local pc (ubuntu) with gcc, is it possible? I'm new to free bsd I have to quesion: 1)where to download it's source it for "netcat" 2)how to build it on ubuntu with gcc? only make? Thanks Lei From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 15:02: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 45468106564A for ; Sun, 22 Jul 2012 15:02:11 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id A03F68FC0C for ; Sun, 22 Jul 2012 15:02:10 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6MF20OZ002625; Sun, 22 Jul 2012 17:02:00 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6MF204R002622; Sun, 22 Jul 2012 17:02:00 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 22 Jul 2012 17:01:59 +0200 (CEST) From: Wojciech Puchar To: Bruce Cran In-Reply-To: <500C0B21.3020001@cran.org.uk> Message-ID: References: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> <500C0B21.3020001@cran.org.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 22 Jul 2012 17:02:00 +0200 (CEST) Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 15:02:11 -0000 > 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can just > write a load of zeros to \\.\PhysicalDrive0 . who prevents you to bood live CD or pendrive with FreeBSD (or openbsd,netbsd,linux,solaris,whatever usable)? > > -- > Bruce Cran > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 15:09:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 959041065670 for ; Sun, 22 Jul 2012 15:09:01 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [93.89.92.64]) by mx1.freebsd.org (Postfix) with ESMTP id 419F18FC14 for ; Sun, 22 Jul 2012 15:09:01 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 610E3E6270; Sun, 22 Jul 2012 16:10:40 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=mY0giLYBo5Nb bXIvj9Cub+w6nJY=; b=V0du+8k28kwZzDptRKFxzM5OHxyaDgeL/EKFcZ7Imqdb WY4g1wbGrjomYOJPqcvs8jdt1ME0+NkAiT90y7s0apIdvR1uGOmccUzUBEGBF6iN 7HFrT24PtVnfrVtufk9bzNldxiBKklw+3YSx6A1k36h+M43JcaouMrraadaO1jE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=v2nFrA K7WoJpP31IEW7UkuA77bpSOwiTT+xkkWHNrjCZU6DDf70oGPRXI4tLeV9Jc48ZxK NzV2TBtfyV9R1pxsk2zTYTuL0MoaCjO1mFMpxcKUKfb4jlHGFWCj4Ttur2WNDpH/ bZYHR61ohVU3ZIrtfHJ+3fg94hR75SMIhsf5Q= Received: from [192.168.2.11] (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 3C6B9E626F; Sun, 22 Jul 2012 16:10:40 +0100 (BST) Message-ID: <500C1788.8000505@cran.org.uk> Date: Sun, 22 Jul 2012 16:08:56 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Wojciech Puchar References: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> <500C0B21.3020001@cran.org.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 15:09:01 -0000 On 22/07/2012 16:01, Wojciech Puchar wrote: >> 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can >> just write a load of zeros to \\.\PhysicalDrive0 . > > who prevents you to bood live CD or pendrive with FreeBSD (or > openbsd,netbsd,linux,solaris,whatever usable)? Nobody - I didn't say users couldn't boot from a FreeBSD/etc live CD, but zeroing the disk in Cygwin is an alternative. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 15:20:56 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 2EDCA106566B for ; Sun, 22 Jul 2012 15:20:56 +0000 (UTC) (envelope-from david+dated+1343402453.5b6463@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.freebsd.org (Postfix) with ESMTP id 8BB6D8FC12 for ; Sun, 22 Jul 2012 15:20:55 +0000 (UTC) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.14.4/8.14.4) with ESMTP id q6MFKrwS067580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 22 Jul 2012 11:20:53 -0400 (EDT) (envelope-from david+dated+1343402453.5b6463@skytracker.ca) Received: (from david@localhost) by 3s1.com (8.14.4/8.14.4/Submit) id q6MFKrBm067579 for questions@freebsd.org; Sun, 22 Jul 2012 11:20:53 -0400 (EDT) (envelope-from david+dated+1343402453.5b6463@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david+dated+1343402453.5b6463@skytracker.ca using -f Received: by 3s1.com (tmda-sendmail, from uid 1000); Sun, 22 Jul 2012 11:20:52 -0400 Date: Sun, 22 Jul 2012 11:20:51 -0400 To: Raimund Steger Message-ID: <20120722152051.GA65867@skytracker.ca> References: <20120721155117.GA48493@skytracker.ca> <500BE6A6.401@mytum.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <500BE6A6.401@mytum.de> User-Agent: Mutt/1.4.2.3i X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: David Banning Cc: questions@freebsd.org Subject: Re: error compiling mplayer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 15:20:56 -0000 > That doesn't look like a problem with mplayer per se, rather with your=20 > GTK or XRANDR install. I wonder if these two versions of gtk could represent a problem; [root@3s1 ~]# cd /var/db/pkg [root@3s1 /var/db/pkg]# ls -tld *gtk* drwxr-xr-x 2 root wheel 512 Jul 12 17:40 gtk-2.22.1_1 drwxr-xr-x 2 root wheel 512 Jul 3 10:05 linux-scim-gtk-fc4-1.4.4 drwxr-xr-x 2 root wheel 512 May 8 23:31 gtk-1.2.10_22 [root@3s1 /var/db/pkg]# >=20 > What do the following commands return: >=20 > nm -D /usr/local/lib/libgdk-x11-2.0.so|grep XRRGetOutputPrimary > nm -D /usr/local/lib/libXrandr.so|grep XRRGetOutputPrimary Here it is; [root@3s1 ~]# nm -D /usr/local/lib/libgdk-x11-2.0.so|grep XRRGetOutputPrima= ry=20 U XRRGetOutputPrimary [root@3s1 ~]# nm -D /usr/local/lib/libXrandr.so|grep XRRGetOutputPrimary [root@3s1 ~]# > Additionally, a somewhat larger snippet of your compilation output would= =20 > be helpful, where at least the linker invocation that triggered that=20 > error occurs. Kind of messy; =20 =3D=3D=3D> Building for mplayer-1.0.r20120322_2 gmake -C ffmpeg libpostproc/libpostproc.a gmake[1]: Entering directory `/usr/ports/multimedia/mplayer/work/mplayer-ex= port-2012-03-22/ffmpeg' gmake[1]: `libpostproc/libpostproc.a' is up to date. gmake[1]: Leaving directory `/usr/ports/multimedia/mplayer/work/mplayer-exp= ort-2012-03-22/ffmpeg' gmake -C ffmpeg libavfilter/libavfilter.a gmake[1]: Entering directory `/usr/ports/multimedia/mplayer/work/mplayer-ex= port-2012-03-22/ffmpeg' gmake[1]: `libavfilter/libavfilter.a' is up to date. gmake[1]: Leaving directory `/usr/ports/multimedia/mplayer/work/mplayer-exp= ort-2012-03-22/ffmpeg' gmake -C ffmpeg libavformat/libavformat.a gmake[1]: Entering directory `/usr/ports/multimedia/mplayer/work/mplayer-ex= port-2012-03-22/ffmpeg' gmake[1]: `libavformat/libavformat.a' is up to date. gmake[1]: Leaving directory `/usr/ports/multimedia/mplayer/work/mplayer-exp= ort-2012-03-22/ffmpeg' gcc46 -o mplayer command.o m_property.o mixer.o mp_fifo.o mplayer.o parser-= mpcmd.o pnm_loader.o input/input.o libao2/ao_mpegpes.o libao2/ao_null.o lib= ao2/ao_pcm.o libao2/audio_out.o libvo/aspect.o libvo/geometry.o libvo/video= _out.o libvo/vo_mpegpes.o libvo/vo_null.o sub/spuenc.o libvo/vo_dga.o libvo= /vo_png.o gui/util/bitmap.o gui/util/list.o gui/util/string.o gui/app.o gui= /cfg.o gui/interface.o gui/skin/font.o gui/skin/skin.o gui/ui/actions.o gui= /ui/gtk/about.o gui/ui/gtk/equalizer.o gui/ui/gtk/fileselect.o gui/ui/gtk/m= enu.o gui/ui/gtk/msgbox.o gui/ui/gtk/playlist.o gui/ui/gtk/preferences.o gu= i/ui/gtk/skinbrowser.o gui/ui/gtk/tools.o gui/ui/gtk/url.o gui/ui/main.o gu= i/ui/menu.o gui/ui/playbar.o gui/ui/render.o gui/ui/video.o gui/ui/widgets.= o gui/util/cut.o gui/wm/ws.o gui/wm/wsxdnd.o libvo/vo_jpeg.o libvo/vo_md5su= m.o udp_sync.o libao2/ao_oss.o libvo/vo_pnm.o libvo/vo_tga.o libvo/vo_cvidi= x.o libvo/vosub_vidix.o vidix/vidix.o vidix/drivers.o vidix/dha.o vidix/mtr= r.o vidix/pci.o vidix/pci_names.o vidix/pci_dev_ids.o vidix/cyberblade_vid.= o vidix/mach64_vid.o vidix/mga_vid.o vidix/mga_crtc2_vid.o vidix/nvidia_vid= .o vidix/pm2_vid.o vidix/pm3_vid.o vidix/radeon_vid.o vidix/rage128_vid.o v= idix/s3_vid.o vidix/sis_vid.o vidix/sis_bridge.o vidix/unichrome_vid.o libv= o/vo_x11.o libvo/vo_xover.o libvo/x11_common.o libvo/vo_xv.o libvo/vo_xvidi= x.o libvo/vo_yuv4mpeg.o asxparser.o bstr.o codec-cfg.o cpudetect.o edl.o fm= t-conversion.o m_config.o m_option.o m_struct.o mp_msg.o mp_strings.o mpcom= mon.o parser-cfg.o path.o playtree.o playtreeparser.o subopt-helper.o libaf= /af.o libaf/af_center.o libaf/af_channels.o libaf/af_comp.o libaf/af_delay.= o libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o libaf/af_for= mat.o libaf/af_gate.o libaf/af_hrtf.o libaf/af_karaoke.o libaf/af_pan.o lib= af/af_resample.o libaf/af_scaletempo.o libaf/af_sinesuppress.o libaf/af_sta= ts.o libaf/af_sub.o libaf/af_surround.o libaf/af_sweep.o libaf/af_tools.o l= ibaf/af_volnorm.o libaf/af_volume.o libaf/filter.o libaf/format.o libaf/reo= rder_ch.o libaf/window.o libmpcodecs/ad.o libmpcodecs/ad_alaw.o libmpcodecs= /ad_dk3adpcm.o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_hwac3.o libmpcodecs/a= d_hwmpa.o libmpcodecs/ad_imaadpcm.o libmpcodecs/ad_msadpcm.o libmpcodecs/ad= _pcm.o libmpcodecs/dec_audio.o libmpcodecs/dec_teletext.o libmpcodecs/dec_v= ideo.o libmpcodecs/img_format.o libmpcodecs/mp_image.o libmpcodecs/pullup.o= libmpcodecs/vd.o libmpcodecs/vd_hmblck.o libmpcodecs/vd_lzo.o libmpcodecs/= vd_mpegpes.o libmpcodecs/vd_mtga.o libmpcodecs/vd_null.o libmpcodecs/vd_raw= .o libmpcodecs/vd_sgi.o libmpcodecs/vf.o libmpcodecs/vf_1bpp.o libmpcodecs/= vf_2xsai.o libmpcodecs/vf_blackframe.o libmpcodecs/vf_boxblur.o libmpcodecs= /vf_crop.o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_decimate.o libmpcodec= s/vf_delogo.o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_detc.o libmpcodecs/= vf_dint.o libmpcodecs/vf_divtc.o libmpcodecs/vf_down3dright.o libmpcodecs/v= f_dsize.o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_eq.o libmpcodecs/vf_eq2.= o libmpcodecs/vf_expand.o libmpcodecs/vf_field.o libmpcodecs/vf_fil.o libmp= codecs/vf_filmdint.o libmpcodecs/vf_fixpts.o libmpcodecs/vf_flip.o libmpcod= ecs/vf_format.o libmpcodecs/vf_framestep.o libmpcodecs/vf_gradfun.o libmpco= decs/vf_halfpack.o libmpcodecs/vf_harddup.o libmpcodecs/vf_hqdn3d.o libmpco= decs/vf_hue.o libmpcodecs/vf_il.o libmpcodecs/vf_ilpack.o libmpcodecs/vf_iv= tc.o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_mirror.o libmpcodecs/vf_nofo= rmat.o libmpcodecs/vf_noise.o libmpcodecs/vf_ow.o libmpcodecs/vf_palette.o = libmpcodecs/vf_perspective.o libmpcodecs/vf_phase.o libmpcodecs/vf_pp7.o li= bmpcodecs/vf_pullup.o libmpcodecs/vf_rectangle.o libmpcodecs/vf_remove_logo= .o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rotate.o libmpcodecs/vf_sab.o li= bmpcodecs/vf_scale.o libmpcodecs/vf_smartblur.o libmpcodecs/vf_softpulldown= .o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_softskip.o libmpcodecs/vf_swapu= v.o libmpcodecs/vf_telecine.o libmpcodecs/vf_test.o libmpcodecs/vf_tfields.= o libmpcodecs/vf_tile.o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_unsharp.= o libmpcodecs/vf_vo.o libmpcodecs/vf_yadif.o libmpcodecs/vf_yuvcsp.o libmpc= odecs/vf_yvu9.o libmpdemux/aac_hdr.o libmpdemux/asfheader.o libmpdemux/avih= eader.o libmpdemux/aviprint.o libmpdemux/demuxer.o libmpdemux/demux_aac.o l= ibmpdemux/demux_asf.o libmpdemux/demux_audio.o libmpdemux/demux_avi.o libmp= demux/demux_demuxers.o libmpdemux/demux_film.o libmpdemux/demux_fli.o libmp= demux/demux_lmlm4.o libmpdemux/demux_mf.o libmpdemux/demux_mkv.o libmpdemux= /demux_mov.o libmpdemux/demux_mpg.o libmpdemux/demux_nsv.o libmpdemux/demux= _pva.o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawvideo.o libmpdemux/d= emux_realaud.o libmpdemux/demux_real.o libmpdemux/demux_roq.o libmpdemux/de= mux_smjpeg.o libmpdemux/demux_ts.o libmpdemux/demux_ty.o libmpdemux/demux_t= y_osd.o libmpdemux/demux_viv.o libmpdemux/demux_vqf.o libmpdemux/demux_y4m.= o libmpdemux/ebml.o libmpdemux/extension.o libmpdemux/mf.o libmpdemux/mp3_h= dr.o libmpdemux/mp_taglists.o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_packeti= zer.o libmpdemux/parse_es.o libmpdemux/parse_mp4.o libmpdemux/video.o libmp= demux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o osdep/getch2.o osdep/timer-lin= ux.o stream/open.o stream/stream.o stream/stream_bd.o stream/stream_cue.o s= tream/stream_file.o stream/stream_mf.o stream/stream_null.o stream/url.o su= b/eosd.o sub/find_sub.o sub/osd.o sub/spudec.o sub/sub.o sub/sub_cc.o sub/s= ubreader.o sub/vobsub.o stream/stream_dvdnav.o libdvdnav/dvdnav.o libdvdnav= /highlight.o libdvdnav/navigation.o libdvdnav/read_cache.o libdvdnav/remap.= o libdvdnav/searching.o libdvdnav/settings.o libdvdnav/vm/decoder.o libdvdn= av/vm/vm.o libdvdnav/vm/vmcmd.o stream/stream_dvd.o stream/stream_dvd_commo= n.o libdvdread4/bitreader.o libdvdread4/dvd_input.o libdvdread4/dvd_reader.= o libdvdread4/dvd_udf.o libdvdread4/ifo_print.o libdvdread4/ifo_read.o libd= vdread4/md5.o libdvdread4/nav_print.o libdvdread4/nav_read.o libvo/aclib.o = av_helpers.o av_opts.o libaf/af_lavcac3enc.o libaf/af_lavcresample.o libmpc= odecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o libmpcodecs/vd_ffmpeg.o libmpcodec= s/vf_geq.o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_= screenshot.o libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o li= bmpcodecs/vf_fspp.o libmpcodecs/vf_mcdeint.o libmpcodecs/vf_qp.o libmpcodec= s/vf_spp.o libmpcodecs/vf_uspp.o sub/font_load_ft.o stream/stream_ftp.o lib= mpcodecs/vf_bmovl.o libaf/af_export.o osdep/mmap_anon.o libmpcodecs/vd_ijpg= .o libmpcodecs/vf_ass.o sub/ass_mp.o sub/subassconvert.o libass/ass.o libas= s/ass_bitmap.o libass/ass_cache.o libass/ass_drawing.o libass/ass_font.o li= bass/ass_fontconfig.o libass/ass_library.o libass/ass_parse.o libass/ass_re= nder.o libass/ass_render_api.o libass/ass_shaper.o libass/ass_strtod.o liba= ss/ass_utils.o libdvdcss/css.o libdvdcss/device.o libdvdcss/error.o libdvdc= ss/ioctl.o libdvdcss/libdvdcss.o libmpcodecs/vd_libmpeg2.o libmpeg2/alloc.o= libmpeg2/cpu_accel.o libmpeg2/cpu_state.o libmpeg2/decode.o libmpeg2/heade= r.o libmpeg2/idct.o libmpeg2/motion_comp.o libmpeg2/slice.o libmpeg2/idct_m= mx.o libmpeg2/motion_comp_mmx.o libmpcodecs/ad_mp3lib.o mp3lib/sr1.o mp3lib= /decode_i586.o mp3lib/dct36_3dnow.o mp3lib/dct64_3dnow.o mp3lib/dct36_k7.o = mp3lib/dct64_k7.o mp3lib/dct64_mmx.o mp3lib/decode_mmx.o mp3lib/dct64_sse.o= stream/stream_rtsp.o stream/freesdp/common.o stream/freesdp/errorlist.o st= ream/freesdp/parser.o stream/librtsp/rtsp.o stream/librtsp/rtsp_rtp.o strea= m/librtsp/rtsp_session.o stream/stream_netstream.o stream/asf_mmst_streamin= g.o stream/asf_streaming.o stream/cookies.o stream/http.o stream/network.o = stream/pnm.o stream/rtp.o stream/udp.o stream/tcp.o stream/stream_rtp.o str= eam/stream_udp.o stream/realrtsp/asmrp.o stream/realrtsp/real.o stream/real= rtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs= /vd_mpng.o libmpcodecs/vf_pp.o libmpcodecs/ad_qtaudio.o libmpcodecs/vd_qtvi= deo.o libmpcodecs/ad_speex.o stream/cache2.o tremor/bitwise.o tremor/block.= o tremor/codebook.o tremor/floor0.o tremor/floor1.o tremor/framing.o tremor= /info.o tremor/mapping0.o tremor/mdct.o tremor/registry.o tremor/res012.o t= remor/sharedbook.o tremor/synthesis.o tremor/window.o stream/stream_tv.o st= ream/tv.o stream/frequencies.o stream/tvi_dummy.o stream/tvi_bsdbt848.o sub= /unrar_exec.o stream/stream_vcd.o libmpcodecs/ad_libvorbis.o libmpdemux/dem= ux_ogg.o loader/wrapper.o loader/elfdll.o loader/ext.o loader/ldt_keeper.o = loader/module.o loader/pe_image.o loader/pe_resource.o loader/registry.o lo= ader/resource.o loader/win32.o libmpcodecs/ad_acm.o libmpcodecs/ad_dmo.o li= bmpcodecs/ad_dshow.o libmpcodecs/ad_twin.o libmpcodecs/vd_dmo.o libmpcodecs= /vd_dshow.o libmpcodecs/vd_vfw.o libmpcodecs/vd_vfwex.o libmpdemux/demux_av= s.o loader/afl.o loader/drv.o loader/vfl.o loader/dshow/DS_AudioDecoder.o l= oader/dshow/DS_Filter.o loader/dshow/DS_VideoDecoder.o loader/dshow/allocat= or.o loader/dshow/cmediasample.o loader/dshow/graph.o loader/dshow/guids.o = loader/dshow/inputpin.o loader/dshow/mediatype.o loader/dshow/outputpin.o l= oader/dmo/DMO_AudioDecoder.o loader/dmo/DMO_VideoDecoder.o loader/dmo/buffe= r.o loader/dmo/dmo.o loader/dmo/dmo_guids.o libmpcodecs/vd_xanim.o osdep/sh= mem.o ffmpeg/libpostproc/libpostproc.a ffmpeg/libavfilter/libavfilter.a ffm= peg/libavformat/libavformat.a ffmpeg/libavcodec/libavcodec.a ffmpeg/libswsc= ale/libswscale.a ffmpeg/libswresample/libswresample.a ffmpeg/libavutil/liba= vutil.a -lm -rpath=3D/usr/lib:/usr/local/lib -Wl,-rpath=3D/usr/local/lib/= gcc46 -liconv /usr/lib/libncurses.so -lpng -lz -ljpeg -L/usr/local/lib -lf= reetype -lz -lfontconfig -lz /usr/lib/libbz2.so -lspeex -pthread -rdynami= c -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lXext -lX11 -pthread= -lXss -lXv -lXinerama -lXxf86vm -lXxf86dga -pthread -lgtk-x11-2.0 -lgdk-x1= 1-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr = -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 = -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.= 0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lglib-2.0 /usr/local/lib/libgdk-x11-2.0.so: undefined reference to `XRRGetScreenResou= rcesCurrent' /usr/local/lib/libgdk-x11-2.0.so: undefined reference to `XRRGetOutputPrima= ry' collect2: ld returned 1 exit status gmake: *** [mplayer] Error 1 *** Error code 1 Stop in /usr/ports/multimedia/mplayer. *** Error code 1 Stop in /usr/ports/multimedia/mplayer. [root@3s1 /usr/ports/multimedia/mplayer]# From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 16:14: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 22AE71065670 for ; Sun, 22 Jul 2012 16:14:11 +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 CF05B8FC08 for ; Sun, 22 Jul 2012 16:14:10 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx01.qsc.de (Postfix) with ESMTP id 8D04D3CDCB; Sun, 22 Jul 2012 18:14:03 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6MGE2bc002741; Sun, 22 Jul 2012 18:14:02 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 22 Jul 2012 18:14:02 +0200 From: Polytropon To: Bruce Cran Message-Id: <20120722181402.9fec82f0.freebsd@edvax.de> In-Reply-To: <500C1788.8000505@cran.org.uk> References: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> <500C0B21.3020001@cran.org.uk> <500C1788.8000505@cran.org.uk> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Wojciech Puchar , freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 16:14:11 -0000 On Sun, 22 Jul 2012 16:08:56 +0100, Bruce Cran wrote: > On 22/07/2012 16:01, Wojciech Puchar wrote: > >> 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can > >> just write a load of zeros to \\.\PhysicalDrive0 . > > > > who prevents you to bood live CD or pendrive with FreeBSD (or > > openbsd,netbsd,linux,solaris,whatever usable)? > > Nobody - I didn't say users couldn't boot from a FreeBSD/etc live CD, > but zeroing the disk in Cygwin is an alternative. Installing Cygwin on a "Windows" PC is nothing an average user could achieve easily. The _idea_ of booting something else is also no typical approach. That's why professional companies offer a paid service so the user does not have to invest his valuable time in educating himself about alternatives what he cannot do _natively_ with his "Windows". It's a simple market decision which seems to work (or they wouldn't care to offer it). Furthermore, in your example using Cygnwin's dd _on_ the disk Cygnwin is currently running from, and the "Windows" it runs on too, doesn't seem like a very good idea. I assume it will result in a bluescreen soon and a _partially_ erased disk. By the way, I remember I had a DD.EXE program on my old DOS system. I'm not sure if such a tool could operate on devices (instead of filesystem-based representations as "drive letters"), but it actually _was_ a DOS-based "copy & convert" utility for the PC. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 16:25:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26E43106566B for ; Sun, 22 Jul 2012 16:25:48 +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 370218FC12 for ; Sun, 22 Jul 2012 16:25:47 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx01.qsc.de (Postfix) with ESMTP id 6C8703CFAD; Sun, 22 Jul 2012 18:25:46 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6MGPj2r002775; Sun, 22 Jul 2012 18:25:46 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 22 Jul 2012 18:25:45 +0200 From: Polytropon To: lei yang Message-Id: <20120722182545.39d6b96c.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 Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 16:25:48 -0000 On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: > Hi, > > I want to build a "netcat" on my local pc (ubuntu) with gcc, is it > possible? I'm new to free bsd I hope I don't misunderstand your intention: You are trying to build a Linux executable of netcat from FreeBSD's sources? You _do_ know that FreeBSD and Linux (here: Ubuntu) are two totally different operating systems. I'm not sure code is compatible at this level (but it maybe _could_ be, you'd have to try it). The netcat program (nc) is part of the FreeBSD operating system for some time now. There's also a port of netcat in /usr/ports/net/netcat (which can also be used). That port's Makefile lists some sources: ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/ ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/ http://www.planetmirror.com/pub/lprng/TOOLS/ You could try to use that source distribution as well. > I have to quesion: > 1)where to download it's source it for "netcat" They can be found in /usr/src/contrib/netcat/ once you have extracted the source distribution of FreeBSD. Depending on which version of the OS (branch, revision, platform) you need, you have to select the corresponding archive from one of the download mirrors. Visit http://www.freebsd.org/ to find out where and how to obtain FreeBSD (or components of it). I would suggest using one of the FTP servers that are accessible for you at a good speed. > 2)how to build it on ubuntu with gcc? only make? I'm not even sure Linux will be able to compile FreeBSD sources. A "typical Linux build" would consist of the three commands # ./configure # make # make install but FreeBSD's OS sources don't need the 1st step. The Makefiles distributed also do use "BSD make", not "GNU make" (often refered to as gmake on non-Linux systems). If this isn't the answer to your question, feel free to be more specific. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 17:06:18 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 3481E1065672 for ; Sun, 22 Jul 2012 17:06:18 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) by mx1.freebsd.org (Postfix) with ESMTP id E157A8FC08 for ; Sun, 22 Jul 2012 17:06:17 +0000 (UTC) Received: from [92.76.69.32] (helo=michael-think) by www81.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.74) (envelope-from ) id 1Sszbe-0008Bx-7L; Sun, 22 Jul 2012 19:06:10 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Wojciech Puchar" , "Bruce Cran" References: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> <500C0B21.3020001@cran.org.uk> <500C1788.8000505@cran.org.uk> Date: Sun, 22 Jul 2012 19:06:04 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: <500C1788.8000505@cran.org.uk> User-Agent: Opera Mail/12.00 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.97.3/15166/Sat Jul 21 23:06:12 2012) Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 17:06:18 -0000 On Sun, 22 Jul 2012 17:08:56 +0200, Bruce Cran wrote: > On 22/07/2012 16:01, Wojciech Puchar wrote: >>> 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can >>> just write a load of zeros to \\.\PhysicalDrive0 . >> >> who prevents you to bood live CD or pendrive with FreeBSD (or >> openbsd,netbsd,linux,solaris,whatever usable)? > > Nobody - I didn't say users couldn't boot from a FreeBSD/etc live CD, > but zeroing the disk in Cygwin is an alternative. > Microsoft's format.exe can zero a volume, at least in the newer (>2008) versions: /p: : Zeros every sector on the volume for the number of passes specified. http://technet.microsoft.com/en-us/library/cc730730(v=ws.10) Regards, Michael -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 17:33: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 E4F40106564A for ; Sun, 22 Jul 2012 17:33:17 +0000 (UTC) (envelope-from duihi77@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 997C88FC0A for ; Sun, 22 Jul 2012 17:33:17 +0000 (UTC) Received: by ggnm2 with SMTP id m2so5754910ggn.13 for ; Sun, 22 Jul 2012 10:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:x-priority:message-id:to:subject:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=xsGeZQ/Tp4xJ46ynyMzjJB3t7BdJTwm4hPHwS08ei9k=; b=JpaPEnDmYdF+Vu2dK3zCndSBG0hnBAVo9CgLv7OzNRgRJxIqirCf2Tm/CEXwWwgmto l3M9tRCzAqMX8m4UmJiarlVwNlAKf52gghw3QY/GdknkmfB+9ILF2R6kJ4UzBEFL5Nle olAkrV/yLfwch8DJhvkbBw48A+eLJa7BumLxHIwev9cZp/x6phHeDiCDuY7g6jnzzn+A b+Y+OgGZSw0ewY+1y4dfm8GwYIqENvZKi67y4jtnZBMxujaRWe+u+gI/oMXOtDHW5BJX WcbJMXg+kYLe5OfFWyvSntjtEC53X9TxFH4tB8j1NBz+rNv2aSTGfV/b9yKjNpsamBds WURw== Received: by 10.50.237.39 with SMTP id uz7mr8892121igc.4.1342978396832; Sun, 22 Jul 2012 10:33:16 -0700 (PDT) Received: from [192.168.2.124] (63-230-62-245.desm.qwest.net. [63.230.62.245]) by mx.google.com with ESMTPS id if4sm4026902igc.10.2012.07.22.10.33.15 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 10:33:16 -0700 (PDT) Date: Sun, 22 Jul 2012 17:33:10 +0000 From: Duane Hill X-Priority: 3 (Normal) Message-ID: <152375425.20120722173310@gmail.com> To: freebsd-questions@freebsd.org In-Reply-To: References: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> <500C0B21.3020001@cran.org.uk> <500C1788.8000505@cran.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 17:33:18 -0000 Personally, I've always used a product from http://www.jetico.com/. On Sunday, July 22, 2012 at 17:06:04 UTC, gmx@ross.cx confabulated: > On Sun, 22 Jul 2012 17:08:56 +0200, Bruce Cran wrote: >> On 22/07/2012 16:01, Wojciech Puchar wrote: >>>> 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can >>>> just write a load of zeros to \\.\PhysicalDrive0 . >>> >>> who prevents you to bood live CD or pendrive with FreeBSD (or >>> openbsd,netbsd,linux,solaris,whatever usable)? >> >> Nobody - I didn't say users couldn't boot from a FreeBSD/etc live CD, >> but zeroing the disk in Cygwin is an alternative. >> > Microsoft's format.exe can zero a volume, at least in the newer (>2008) > versions: > /p: : Zeros every sector on the volume for the number of passes > specified. > http://technet.microsoft.com/en-us/library/cc730730(v=ws.10) -- If at first you don't succeed... ...so much for skydiving. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 18:12:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0A90106564A for ; Sun, 22 Jul 2012 18:12:44 +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 3C3EE8FC14 for ; Sun, 22 Jul 2012 18:12:44 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 94846E6270; Sun, 22 Jul 2012 19:14:26 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=glNrMWJNS/Tb seAS01hrOxO9wVw=; b=bwZjaktbOgNp5Fp8ppbwabRzM98fmUcwsLsNzCc3T/p/ p0AMHnqQoC9nRQ0qbqzdrp3oI6ZVfaCPBlQsyCj51EeqInvHKZeiNGY6WTo9K643 /OhCkdQqLoIydVVzfKWNMU5S61sZCfIIi04CgoUgnU41c2gPA+v8ydH6n5pASY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=tYkCAH utEBNEZzlv73aAW2OtMjP0sXEgNE9OJU1TTMRAC0udm3sKTF73mv3NC7WiwOrFNh TszXiS2ocoFnfrlXQ54StPg3b0utl6tcJA7/41B41spAtrW6u1UPAbFNqLdHysDv FkCGRjNbb7swa2UPkLHsgsMM/rJh22r1wx33c= Received: from [192.168.2.11] (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 65A6AE626F; Sun, 22 Jul 2012 19:14:26 +0100 (BST) Message-ID: <500C429A.2010702@cran.org.uk> Date: Sun, 22 Jul 2012 19:12:42 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Polytropon References: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> <500C0B21.3020001@cran.org.uk> <500C1788.8000505@cran.org.uk> <20120722181402.9fec82f0.freebsd@edvax.de> In-Reply-To: <20120722181402.9fec82f0.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Wojciech Puchar , freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 18:12:44 -0000 On 22/07/2012 17:14, Polytropon wrote: > Furthermore, in your example using Cygnwin's dd _on_ the disk > Cygnwin is currently running from, and the "Windows" it runs > on too, doesn't seem like a very good idea. I assume it will > result in a bluescreen soon and a _partially_ erased disk. Sorry, I forgot the say that in this example Windows is booted from \\.\PhysicalDrive1 :) -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 19:27: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 CC573106564A for ; Sun, 22 Jul 2012 19:27:23 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 6FC048FC0A for ; Sun, 22 Jul 2012 19:27:23 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6MJSsFs025367 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 14:28:54 -0500 (CDT) Date: Sun, 22 Jul 2012 14:28:54 -0500 (CDT) From: Robert Bonomi Message-Id: <201207221928.q6MJSsFs025367@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 19:27:23 -0000 > From wojtek@wojtek.tensor.gdynia.pl Sun Jul 22 10:03:46 2012 > Date: Sun, 22 Jul 2012 17:01:59 +0200 (CEST) > From: Wojciech Puchar > To: Bruce Cran > cc: Robert Bonomi , freebsd-questions@freebsd.org > Subject: Re: fsck on FAT32 filesystem? > > > 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can > > just write a load of zeros to \\.\PhysicalDrive0 . > > who prevents you to bood live CD or pendrive with FreeBSD (or > openbsd,netbsd,linux,solaris,whatever usable)? Merely the real-world FACT that *most* Windows users don't _have_ any such media, _or_ know anthing about how to use it, *if* they had it. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 20:09: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 57E3B106566B for ; Sun, 22 Jul 2012 20:09:36 +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 090EF8FC19 for ; Sun, 22 Jul 2012 20:09:36 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1St2T2-0005Wr-3G for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 22:09:28 +0200 Received: from bsd1.hq.steg0.eu ([82.139.199.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jul 2012 22:09:28 +0200 Received: from rs by bsd1.hq.steg0.eu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jul 2012 22:09:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Raimund Steger Date: Sun, 22 Jul 2012 22:09:15 +0200 Lines: 22 Message-ID: <500C5DEB.5040306@mytum.de> References: <20120721155117.GA48493@skytracker.ca> <500BE6A6.401@mytum.de> <20120722152051.GA65867@skytracker.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bsd1.hq.steg0.eu User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:14.0) Gecko/20120706 Firefox/14.0 SeaMonkey/2.11 In-Reply-To: <20120722152051.GA65867@skytracker.ca> Subject: Re: error compiling mplayer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 20:09:36 -0000 David Banning wrote: >> That doesn't look like a problem with mplayer per se, rather with your >> GTK or XRANDR install. > > I wonder if these two versions of gtk could represent a problem; This should be fine, 1.x and 2.x can coexist. Scim is unrelated, it's the Linux input engine. The linker command seems OK as well from what I can tell. > [root@3s1 ~]# nm -D /usr/local/lib/libXrandr.so|grep XRRGetOutputPrimary Hm, this should produce output like: bsd1:mplayer)nm -D /usr/local/lib/libXrandr.so|grep XRRGetOutputPrimary 00004230 T XRRGetOutputPrimary The API seems to be a more recent addition, maybe you need to upgrade your libXrandr port? I have libXrandr-1.3.0. Raimund From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 20:11:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55921106566B for ; Sun, 22 Jul 2012 20:11:28 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 1170C8FC15 for ; Sun, 22 Jul 2012 20:11:27 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6MKCxPe025704 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 15:12:59 -0500 (CDT) Date: Sun, 22 Jul 2012 15:12:59 -0500 (CDT) From: Robert Bonomi Message-Id: <201207222012.q6MKCxPe025704@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <20120722181402.9fec82f0.freebsd@edvax.de> Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 20:11:28 -0000 > From: Polytropon > Date: Sun, 22 Jul 2012 18:14:02 +0200 > Subject: Re: fsck on FAT32 filesystem? > > By the way, I remember I had a DD.EXE program on my old DOS > system. I'm not sure if such a tool could operate on devices > (instead of filesystem-based representations as "drive letters"), > but it actually _was_ a DOS-based "copy & convert" utility > for the PC. :-) MSDOS/PCDOS had -no- O/S functions to directly access actual disk devices. The ONLY fuctionality provided to the user, by the "O/S" was filesystem based access. To get 'raw' device access, one had to bypass the O/S entirely, and use direct BIOS calls (INT 13h). And, _if_ you went the INT 13H route, you had to include your own custom code in your app for MS 'partition' handling, and possible multiple logical drives inside a single 'extended partition'. There was a fairly widely available "INT 13H" program called 'rawrite" that would copy a file (inside the filesystem on a letter-named drive) to a raw disk device. Commonly used for making bootable UNIXesque floppies under DOS/Windows, from an 'image' file. There was a companion 'rawread', that was much less widely distributed -- few people needed to make a complete disk image file of a physical drive (or logical 'drive letter') under windows. Rawread/rawwrite would work for 'cloning' a *SMALL* physical drive, but *ONLY* if the 'bad sectors' were in the same place(s). They _weren't_ smart enough to write the data intended for what turned out to be a 'bad sector' on the target drive to "somewhere else", and update the FAT accordingly. They only worked on small drives because they only spoke 'CHS' sector addressing, not LBA. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 20:30:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ECBA1065670 for ; Sun, 22 Jul 2012 20:30:20 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id DD5F48FC15 for ; Sun, 22 Jul 2012 20:30:19 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6MKVpOw025827 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 15:31:51 -0500 (CDT) Date: Sun, 22 Jul 2012 15:31:51 -0500 (CDT) From: Robert Bonomi Message-Id: <201207222031.q6MKVpOw025827@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: Subject: Re: fsck on FAT32 filesystem?freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 20:30:20 -0000 > From owner-freebsd-questions@freebsd.org Sun Jul 22 07:22:29 2012 > Date: Sun, 22 Jul 2012 14:19:43 +0200 (CEST) > From: Wojciech Puchar > To: Thomas Mueller > Cc: freebsd-questions@freebsd.org > Subject: Re: fsck on FAT32 filesystem? > > > > > Let us securely erase your personal files and pictures for only $49.99. > and securely copy everything interesting before. > > That's truly funny. Someone DO CARE about his/her data being deleted, > and... lets someone else in random shop to do this. And exactly what alternatives _do_ you see for someone who DOES NOT HAVE THE SKILLS, TOOLS, OR RESOURCES, to 'do it themselves'? That's a serious question, not an attack. If someone wants it done, but doesn't have the knowledge/tools/etc. to do it themselves, it appears to me that they have precisely two realistic alternatives: 1) Trust "somebody" to do it, and do it right, or 2) simpl DON'T do it. Putting together what is required to "do it yourself" _is_ out of the question for _most_ Windows users. They don't know _what_ they need to know/learn/have to do the task. Heck they don't know how to find out *what* they need to find out, to learn what is needed to do the task. Yes, in theory, they _could_ learn everything they need to know to do it themselves, but the list of things that a 'know nothing' Windows user has to dig out, understand, and _use_, is incredibly long and daunting. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 20:34: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 9F68D106566C for ; Sun, 22 Jul 2012 20:34:51 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 4298B8FC0A for ; Sun, 22 Jul 2012 20:34:51 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6MKaNPT025871 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 15:36:23 -0500 (CDT) Date: Sun, 22 Jul 2012 15:36:23 -0500 (CDT) From: Robert Bonomi Message-Id: <201207222036.q6MKaNPT025871@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <500C0B21.3020001@cran.org.uk> Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 20:34:51 -0000 > From owner-freebsd-questions@freebsd.org Sun Jul 22 09:19:24 2012 > Date: Sun, 22 Jul 2012 15:16:01 +0100 > From: Bruce Cran > To: Robert Bonomi > Cc: freebsd-questions@freebsd.org > Subject: Re: fsck on FAT32 filesystem? > > On 22/07/2012 11:38, Robert Bonomi wrote: > > Needless to say, that approach doesn't work under Windows. > > 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can just > write a load of zeros to \\.\PhysicalDrive0 . I've never seen a Windows installation that _came_with_ cgwin, or an 'average' Windows user that was capable of (a) findingit, (b) comprehending -what- it was, (c) downloading it, (d) installing it, or (e) figuring out how to -use- it.. Aside from those 'minor' difficulties, it's a viable solution. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 20:38:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DD9A106566C for ; Sun, 22 Jul 2012 20:38:12 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id B4FCA8FC0C for ; Sun, 22 Jul 2012 20:38:11 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6MKdhMK025897; Sun, 22 Jul 2012 15:39:43 -0500 (CDT) Date: Sun, 22 Jul 2012 15:39:43 -0500 (CDT) From: Robert Bonomi Message-Id: <201207222039.q6MKdhMK025897@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, yanglei.fage@gmail.com In-Reply-To: Cc: Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 20:38:12 -0000 > From owner-freebsd-questions@freebsd.org Sun Jul 22 09:44:21 2012 > Date: Sun, 22 Jul 2012 22:41:57 +0800 > From: lei yang > To: freebsd-questions@freebsd.org > Subject: help about free bsp version netcat to work it on ubuntu > > Hi, > > I want to build a "netcat" on my local pc (ubuntu) with gcc, is it > possible? I'm new to free bsd > > I have to quesion: > 1)where to download it's source it for "netcat" > 2)how to build it on ubuntu with gcc? only make? Ubuntu is a _LINUX_ distribution. Unrelated to FreeBSD. 'That which works' on FreeBSD is -not- likely to work on a LINUX distro, and vice-versa. If you want to use netcat on FreeBSD, people here can help. If you want to use it on some LINUX distro, your better off asking on a forum for _that_ O/S an istro. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 20:46: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 5AADB106566C for ; Sun, 22 Jul 2012 20:46:22 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 10B778FC0C for ; Sun, 22 Jul 2012 20:46:21 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6MKlrjt025975 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 15:47:53 -0500 (CDT) Date: Sun, 22 Jul 2012 15:47:53 -0500 (CDT) From: Robert Bonomi Message-Id: <201207222047.q6MKlrjt025975@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <500C429A.2010702@cran.org.uk> Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 20:46:22 -0000 > From owner-freebsd-questions@freebsd.org Sun Jul 22 13:15:00 2012 > Date: Sun, 22 Jul 2012 19:12:42 +0100 > From: Bruce Cran > To: Polytropon > Cc: Wojciech Puchar , > freebsd-questions@freebsd.org, > Robert Bonomi > Subject: Re: fsck on FAT32 filesystem? > > On 22/07/2012 17:14, Polytropon wrote: > > Furthermore, in your example using Cygnwin's dd _on_ the disk > > Cygnwin is currently running from, and the "Windows" it runs > > on too, doesn't seem like a very good idea. I assume it will > > result in a bluescreen soon and a _partially_ erased disk. > > Sorry, I forgot the say that in this example Windows is booted from > \\.\PhysicalDrive1 :) Which assumes you _have_ \\.\PhysicalDrive1, and have a bootable O/S on it, *and* know how to make the machine boot from the 'other disk' *AND* know the 'magic incantation' to invoke the executable to erase the disk in -that- environmnt. Care to guess what percentnage of Windows users fits that criteria? I'm petty sure, albeit without any 'ahrd facts', that it starts with a decimal point, and several zeroes. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:00:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17BD510656FF for ; Sun, 22 Jul 2012 21:00:09 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 5D6278FC16 for ; Sun, 22 Jul 2012 21:00:09 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6ML1fqO026079 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 16:01:41 -0500 (CDT) Date: Sun, 22 Jul 2012 16:01:41 -0500 (CDT) From: Robert Bonomi Message-Id: <201207222101.q6ML1fqO026079@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:00:27 -0000 > From: "Michael Ross" > Date: Sun, 22 Jul 2012 19:06:04 +0200 > > On Sun, 22 Jul 2012 17:08:56 +0200, Bruce Cran wrote: > > Microsoft's format.exe can zero a volume, at least in the newer (>2008) > versions: > > /p: : Zeros every sector on the volume for the number of passes > specified. Early versions of format (until the addition of the '/Q' switch) always over- wrote the entire disk. this was how it found the initial 'bad sectors' to be so marked in the FAT. As disk capacities increased, the bad block check took increasingly longer amounts of time. Hence, along with bad-block handling (mapping and substitution) moving into the drive electronics, the introduction of the '/Q' option -- whereby format just overwrote the fat and root diretory, putting all the data blocks on the free list. I haven't had occasion to dissect a copy of format in years, I don't know if it still defaults to one write attemptto every sector on the disk. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:11:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F9BE106566B for ; Sun, 22 Jul 2012 21:11:30 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0B0238FC15 for ; Sun, 22 Jul 2012 21:11:29 +0000 (UTC) Received: by ghbz22 with SMTP id z22so5795837ghb.13 for ; Sun, 22 Jul 2012 14:11:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=XeEX8hIiEWqGwXrEl/EygjmoJ0s5hAbnH6nbiN+B570=; b=nCSIpygIsxF1YM+RpQlQJIPs97OpcS5vOOEhAT4p7w/G1f/29mxplvAT/GJofeSlqo TAeFxzOg9Mec45A6FGULosG4jwjGKh+lp11VvQIhKwAzGUZb/Mng0QLAZSeaZTmFKisR MTj2cou9XvAcGavdv5BFToorK57vTMHKd4FcE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=XeEX8hIiEWqGwXrEl/EygjmoJ0s5hAbnH6nbiN+B570=; b=ldXXW0UCsrT/iljky0oPjnAI5uQIeQGn2ZpCX2JnjzwESOMx0rRep2jdAZBqwyEgHU bhJjPif9vtr28yLA0BiQFijnWi6fR6BfyP1wnp2vRAdiBYJsW8CZsDmM7r0lYRcJzcNj fgrOthiobtgjW7wky6beiBn3sYnI/5p3gzx+hTpegLeGeosq1vGW1WN5fLyXSGiWN4vu mKB/ina0bEbWpkUoFt8yx2d+LvCFIfLN3HUPsAayoGowe9fDV5/OmTKwAd77YhSJXo5b x8AfPoedaWsm+iJmT5Ox9bKWNdPTgS4KhFXdn2dXQivcBKjncztbeWePhp+C/XNGMH1Q gEWw== Received: by 10.236.154.165 with SMTP id h25mr12300902yhk.38.1342991489189; Sun, 22 Jul 2012 14:11:29 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id s1sm10742545anl.8.2012.07.22.14.11.27 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 14:11:28 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3WgJRL0yhkz2CG4F for ; Sun, 22 Jul 2012 17:11:26 -0400 (EDT) Date: Sun, 22 Jul 2012 17:11:25 -0400 From: Jerry To: FreeBSD Message-ID: <20120722171125.1fafca5e@scorpio> In-Reply-To: <201207222101.q6ML1fqO026079@mail.r-bonomi.com> References: <201207222101.q6ML1fqO026079@mail.r-bonomi.com> Organization: seibercom.net X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQn21YFnf0k+XqT2ZOgh2C3uggC7jUV4TmZBvvotENolK0nIgzv9iRtvIyON+Nf7JBmHATX8 Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:11:30 -0000 On Sun, 22 Jul 2012 16:01:41 -0500 (CDT) Robert Bonomi articulated: > I haven't had occasion to dissect a copy of format in years, I don't > know if it still defaults to one write attemptto every sector on the > disk. I read on the MS TechNet several years ago that it attempted three writes per sector. That info may be out of date with the never versions of the format program however. -- Jerry â™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:14:41 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6961106566B for ; Sun, 22 Jul 2012 21:14:41 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward11.mail.yandex.net (forward11.mail.yandex.net [IPv6:2a02:6b8:0:801::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4A2998FC0C for ; Sun, 22 Jul 2012 21:14:41 +0000 (UTC) Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward11.mail.yandex.net (Yandex) with ESMTP id ED072E81089 for ; Mon, 23 Jul 2012 01:14:39 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1342991679; bh=i3UMYfqOqhpRWW+MnF2bo2qw1Vzt7pBefD/h3GijI0U=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=gVFt3dnDNNrsP1b9B1vzjRYHxk+zjx6AgMMiZJI+V8DA1K2MjmJVZWsrz1526hZSn 1Y3L2eFoR/xM/Ce5kODxqjkbegB/pFkRG17qKnNYo45cJ08ROTG1PNTmxv6hLVDTtt I0jiRheZM0RO9ZToRvdTq99Zd1aw/rxAAoUIW0Es= Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id DAF7BE40484 for ; Mon, 23 Jul 2012 01:14:39 +0400 (MSK) Received: from unknown (unknown [77.93.52.18]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTP id EdGa11BN-EdGOwdD9; Mon, 23 Jul 2012 01:14:39 +0400 X-Yandex-Rcpt-Suid: freebsd-questions@FreeBSD.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1342991679; bh=i3UMYfqOqhpRWW+MnF2bo2qw1Vzt7pBefD/h3GijI0U=; h=Date:From:X-Mailer:Reply-To:Organization:X-Priority:Message-ID:To: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lIDjU7hAc9j7k9XUUdCKaQiCgUwBYoJYENgf9/wiyjVMvBsA9rBi/tYE30mXG109h ZyX7rrfQCeF7HPBrqS0XSoMuAXPCuQEuzH86q4oBMyYt5OgH5wGQC0VIKoSVY9J2ps nWZwBBL7DlGurQjT2NN7Q1EPHV+WXrtL0nx1rUec= Date: Mon, 23 Jul 2012 00:14:32 +0300 From: Eugen Konkov X-Mailer: The Bat! (v4.0.24) Professional Organization: ISP FreeLine X-Priority: 3 (Normal) Message-ID: <1406172675.20120723001432@yandex.ru> To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: Subject: mpd5+igb+9.1prerelease = lag with "youtube HD 1080" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Jul 2012 21:14:41 -0000 Hi http://www.youtube.com/watch?v=H2Lk_6U2864 when I work without vpn connection this video work fine and have a good portion cached, but when I use VPN connection I have a video lag. Have anybody same problem? From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:17: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 E928A1065670 for ; Sun, 22 Jul 2012 21:17:54 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 49F4B8FC19 for ; Sun, 22 Jul 2012 21:17:53 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6MLHlNc004502; Sun, 22 Jul 2012 23:17:47 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6MLHlpN004499; Sun, 22 Jul 2012 23:17:47 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 22 Jul 2012 23:17:46 +0200 (CEST) From: Wojciech Puchar To: Robert Bonomi In-Reply-To: <201207222012.q6MKCxPe025704@mail.r-bonomi.com> Message-ID: References: <201207222012.q6MKCxPe025704@mail.r-bonomi.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 22 Jul 2012 23:17:47 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:17:55 -0000 >> system. I'm not sure if such a tool could operate on devices >> (instead of filesystem-based representations as "drive letters"), >> but it actually _was_ a DOS-based "copy & convert" utility >> for the PC. :-) > > MSDOS/PCDOS had -no- O/S functions to directly access actual disk > devices. The ONLY fuctionality provided to the user, by the "O/S" can we finally stop this off topic thread? it was about fsck on FAT32 filesystem UNDER FREEBSD (because it is in freebsd-questions). From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:20: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 7A9A4106566C for ; Sun, 22 Jul 2012 21:20:50 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 540748FC0C for ; Sun, 22 Jul 2012 21:20:49 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1St3Zz-0000E5-Bk for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 14:20:43 -0700 Date: Sun, 22 Jul 2012 14:20:43 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1342992043358-5729028.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:20:50 -0000 Hi, I was fortunate enough to buy USB 3.0 pendrive, which actually works with FreeBSD just ripped from package! (normal _empty_ FAT filesystem, no garbageware added, no need to format). It actually bounces from 40MB/s limit when reading from it. Writing is about 18MB/s. Device is supposed to be "467x" which should be about 70MB/s. And USB 2.0 hard limit is 60MB/s. Wouldn't be nice to squeeze few additional MB/s? -- View this message in context: http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:23:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFB1E106566B for ; Sun, 22 Jul 2012 21:23:44 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) by mx1.freebsd.org (Postfix) with ESMTP id 9B75B8FC18 for ; Sun, 22 Jul 2012 21:23:44 +0000 (UTC) Received: from [92.76.69.32] (helo=michael-think) by www81.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.74) (envelope-from ) id 1St3cs-0000Mo-C9; Sun, 22 Jul 2012 23:23:42 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-questions@freebsd.org, "Robert Bonomi" References: <201207222101.q6ML1fqO026079@mail.r-bonomi.com> Date: Sun, 22 Jul 2012 23:23:36 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: <201207222101.q6ML1fqO026079@mail.r-bonomi.com> User-Agent: Opera Mail/12.00 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.97.3/15166/Sat Jul 21 23:06:12 2012) Cc: Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:23:45 -0000 On Sun, 22 Jul 2012 23:01:41 +0200, Robert Bonomi wrote: > I haven't had occasion to dissect a copy of format in years, I don't know > if it still defaults to one write attemptto every sector on the disk. "By default in Windows Vista, the format command writes zeros to the whole disk when a full format is performed." http://support.microsoft.com/kb/941961/en-us With the addition of the "passes"-switch, this seems to imply "one write attempt per sector", but I didn't find any explicit statement to that accord. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:29: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 55B13106564A for ; Sun, 22 Jul 2012 21:29:01 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2D4948FC15 for ; Sun, 22 Jul 2012 21:29:01 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1St3i0-00013w-R3 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 14:29:00 -0700 Date: Sun, 22 Jul 2012 14:29:00 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1342992540828-5729030.post@n5.nabble.com> In-Reply-To: <1342992043358-5729028.post@n5.nabble.com> References: <1342992043358-5729028.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:29:01 -0000 This could be deducted, but I will add for clarity, that I bought USB 3.0 pendrive to use in 2.0 port, to take advantage of 2.0 to the fullest (as 2.0 pendrives have slow flashes inside). -- View this message in context: http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028p5729030.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:32: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 9169E106564A for ; Sun, 22 Jul 2012 21:32:37 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id EC8E58FC0C for ; Sun, 22 Jul 2012 21:32:36 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6MLWWer004618; Sun, 22 Jul 2012 23:32:32 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6MLWWCh004615; Sun, 22 Jul 2012 23:32:32 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 22 Jul 2012 23:32:32 +0200 (CEST) From: Wojciech Puchar To: Jakub Lach In-Reply-To: <1342992043358-5729028.post@n5.nabble.com> Message-ID: References: <1342992043358-5729028.post@n5.nabble.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 22 Jul 2012 23:32:32 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:32:37 -0000 > which actually works with FreeBSD just ripped from > package! (normal _empty_ FAT filesystem, no > garbageware added, no need to format). zero difference. newfs_msdos take a moment. > It actually bounces from 40MB/s limit when reading > from it. > > Writing is about 18MB/s. > > Device is supposed to be "467x" which should > be about 70MB/s. don't treat all advertised data seriously > > And USB 2.0 hard limit is 60MB/s. > > Wouldn't be nice to squeeze few additional > MB/s? how did you measured it. dd if=/dev/da0 of=/dev/null bs=64k ? dd if=/dev/zero of=/dev/da0 bs=64k via msdosfs via mtools ? From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:40:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7A5F106566B for ; Sun, 22 Jul 2012 21:40:16 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 51B0D8FC08 for ; Sun, 22 Jul 2012 21:40:16 +0000 (UTC) Received: by ggnm2 with SMTP id m2so5803142ggn.13 for ; Sun, 22 Jul 2012 14:40:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=nHYRkG0jGazPRvsBmslfcxlYbnBleAYjgodmpuADyJM=; b=aoHLRVs/jir5sBlx3d9Wqw8KLtcn5xJqA8GLUFiWP6QDfykzH8zLpNTqmbprqd7ftD n1z+L+FG+GBSVNnaUiRDgzk/MfKsjkJwb0KzEY8N1YLeFqkF7OvIMkItMOsAslQkOi8h /aiL5mBC8/SThv0+5eDAPuxAnPmR101nXIOvk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=nHYRkG0jGazPRvsBmslfcxlYbnBleAYjgodmpuADyJM=; b=n2uCMchGBn1ZshPhO1xm/D1P+tn/Ugz8oamB1IMJ3DCt1bMVah5ei3HpVHNi6C2L4F ASKYo1QQzsvLRq2svqdOtvXzkCItOaEH2H+WhY1n805xnrYY1dQvXH1hTgZJdWrzr36H FxINucPC9vVOR3kHKiY97d1kdLYM+kbbiMeacNyy+eJgVIj8fmx8vN2JWJ6WGuZH8lym Wz6Py1wtOqJIss/XiV4Epm2qfPyhekCQwTNqlh6vlKOq//rkMVIjdqrSjh3dhVu638+q 1EfVDjSWIF8L0Igwt+km/Ojm7hwgWZRi7v5AA/pBUaC+8i0zbtmLYovYpyiMBHc6x4po BJOQ== Received: by 10.236.181.9 with SMTP id k9mr12273836yhm.58.1342993215321; Sun, 22 Jul 2012 14:40:15 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id q8sm7144905anl.16.2012.07.22.14.40.13 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 14:40:14 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3WgK4X1fmMz2CG4F for ; Sun, 22 Jul 2012 17:40:12 -0400 (EDT) Date: Sun, 22 Jul 2012 17:40:11 -0400 From: Jerry To: FreeBSD Message-ID: <20120722174011.6fc5da04@scorpio> In-Reply-To: <201207222031.q6MKVpOw025827@mail.r-bonomi.com> References: <201207222031.q6MKVpOw025827@mail.r-bonomi.com> Organization: seibercom.net X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmJZHj1XTWrcYCHQu4kyCnYeV80y/El+rVorWybCZ8G7DJUGt+gqa4WyWM52tjv1akBzNVn Subject: Re: fsck on FAT32 filesystem?freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:40:16 -0000 On Sun, 22 Jul 2012 15:31:51 -0500 (CDT) Robert Bonomi articulated: > Yes, in theory, they _could_ learn everything they need to know to do > it themselves, but the list of things that a 'know nothing' Windows > user has to dig out, understand, and _use_, is incredibly long and > daunting. I know plenty of "dumber than dirt" *.nix users too. Stupidity is not limited to race, color, sex or operating system. Actually, they are smart enough to get themselves an OS that actually works with virtually all modern hardware and without having to spend countless [hours | days | weeks] attempting to getting such hardware up and running before eventually giving up in some cases. You might have heard about "N" protocol wireless devices that until fairly recently FreeBSD didn't even know existed. Even now the support is limited; however, that is another story. In any case, that is not the subject of this this reply. I have found "HDDerase.exe" to be a useful and in the most important criteria to the FOSS crowd, free. Seriously though, isn't it about time to close this thread? -- Jerry â™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:56: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 17712106566B for ; Sun, 22 Jul 2012 21:56:57 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id E241B8FC08 for ; Sun, 22 Jul 2012 21:56:56 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1St492-0004Dg-Hx for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 14:56:56 -0700 Date: Sun, 22 Jul 2012 14:56:56 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1342994216549-5729035.post@n5.nabble.com> In-Reply-To: References: <1342992043358-5729028.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:56:57 -0000 18MB/s write is figure from few dd if=/dev/zero of=/dev/da0 bs=1 to 15M runs, 13-14MB/s from actual files copied in mc to flash and 36-39MB/s file copied from flash to hdd in mc. dd if=/dev/da0 of=/dev/zero bs=15m gives 33MB/s read. Speaking of advertisements, yes I know but USB 3.0 drives with nice flashes are capable of speeds well above 2.0 limits, and that's the point anyway. Speaking of formatting, I can't agree, as I bought such awfully formatted drive, that it had to be FAT formatted in Windows to be even recognized in FreeBSD as device. And I don't usually have Windows around. -- View this message in context: http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028p5729035.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 22:45:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C195D106566B for ; Sun, 22 Jul 2012 22:45:04 +0000 (UTC) (envelope-from amvandemore@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 8FFE18FC0A for ; Sun, 22 Jul 2012 22:45:00 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so10411144pbb.13 for ; Sun, 22 Jul 2012 15:45:00 -0700 (PDT) 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=Zmq99gp9/YSNY5PeEGQexyIO1t5uwlNUOxfG5a0wcR8=; b=z6Sr9wIe8kxfK1bjE5p+AcB5gjYlqO5Xys+tVLLy5ssnhjwdRH1k8qAvnGrpvT1ucv J1dLRhrB7QjvXeTx1+1wIJtNEazjFikNSncH6mDaSuIhF9W4f4bjriaBqeZT6O9yWchS JFjAmlMCAkPzxRdcDAV3JPFMmu4uCXNqOI3Nx1Z8Ua4o3QMrgk6lm43xg8Qke1OTszOd 1r/K34woKS8OS4ehqls32U7J7xrvPRJGo2cvrsUTL890FDZQcB52GGA9kKtf+SaraFmo UxPxMCNmJ+MYbV0WhkOfY3TDSktyjleXrg5oxellgMSyIueLij1LZ3CL1XRYWFzVZY/M bkFA== MIME-Version: 1.0 Received: by 10.68.132.166 with SMTP id ov6mr31095212pbb.24.1342997100148; Sun, 22 Jul 2012 15:45:00 -0700 (PDT) Received: by 10.68.227.132 with HTTP; Sun, 22 Jul 2012 15:45:00 -0700 (PDT) In-Reply-To: <1342992043358-5729028.post@n5.nabble.com> References: <1342992043358-5729028.post@n5.nabble.com> Date: Sun, 22 Jul 2012 17:45:00 -0500 Message-ID: From: Adam Vande More To: Jakub Lach Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 22:45:04 -0000 On Sun, Jul 22, 2012 at 4:20 PM, Jakub Lach wrote: > Hi, > > I was fortunate enough to buy USB 3.0 pendrive, > which actually works with FreeBSD just ripped from > package! (normal _empty_ FAT filesystem, no > garbageware added, no need to format). > > It actually bounces from 40MB/s limit when reading > from it. > > Writing is about 18MB/s. > > Device is supposed to be "467x" which should > be about 70MB/s. > > And USB 2.0 hard limit is 60MB/s. > > Wouldn't be nice to squeeze few additional > MB/s? > You are suffering a misunderstanding of how USB 2 works. There is a lot of overhead to it. If you want USB 3 speeds, buy a USB 3 controller. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 23:05:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBF49106564A for ; Sun, 22 Jul 2012 23:05:50 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id C2A998FC08 for ; Sun, 22 Jul 2012 23:05:50 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1St5Di-00040p-36 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 16:05:50 -0700 Date: Sun, 22 Jul 2012 16:05:50 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1342998350089-5729042.post@n5.nabble.com> In-Reply-To: References: <1342992043358-5729028.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 23:05:51 -0000 Speaking of misunderstanding, that's certainly possible. How much overhead is "normal" and alternatively, why in FreeBSD USB 2.0 reports as "40MB/s" and not other arbitrary number. I hope I didn't sound like "PLEASE HELP I WANT USB 3.0 SPEEDS ON USB 2.0"... -- View this message in context: http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028p5729042.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 01:20: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 B4212106566B for ; Mon, 23 Jul 2012 01:20:06 +0000 (UTC) (envelope-from amvandemore@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 7DA248FC12 for ; Mon, 23 Jul 2012 01:20:06 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so10584185pbb.13 for ; Sun, 22 Jul 2012 18:20:06 -0700 (PDT) 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=lRbohQHny510rgGEagqU91mAdydWb6T7aHR3JGcwk+g=; b=QC5+ntqOVEgwtMA2ji1e6xyWga6mjpkV1KvHhujLxhng3j91tbP3itIxPlZqYIMD7g 8w+elqatC9Ug/lesniooFVbBnwowYKEHhMGNMSU9Wrs2SZkhBJhrr5csVHd269BkcFUs XdVWwA4r2YJIUOcMaYOfYBzAOUM7CZlmRZlE4fIPRYp74AsaPWqHLSxurgvt1G0ByPUC saCibdUY+fjK6wgbndqPiGNYhiUc68sT4qvnCJwLITs+GEg4jW66lBKyGhLYwKvJQPEJ NI4VBVrDjgp90Ea5cwRsEcIn6yQ6vaNP4KQCCvFfGcnIblC7O/Y6PKN2n1jh33JfWNsK ypXA== MIME-Version: 1.0 Received: by 10.68.132.166 with SMTP id ov6mr31722787pbb.24.1343006406293; Sun, 22 Jul 2012 18:20:06 -0700 (PDT) Received: by 10.68.227.132 with HTTP; Sun, 22 Jul 2012 18:20:06 -0700 (PDT) In-Reply-To: <1342998350089-5729042.post@n5.nabble.com> References: <1342992043358-5729028.post@n5.nabble.com> <1342998350089-5729042.post@n5.nabble.com> Date: Sun, 22 Jul 2012 20:20:06 -0500 Message-ID: From: Adam Vande More To: Jakub Lach Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 01:20:06 -0000 On Sun, Jul 22, 2012 at 6:05 PM, Jakub Lach wrote: > Speaking of misunderstanding, that's certainly > possible. > > How much overhead is "normal" and alternatively, > why in FreeBSD USB 2.0 reports as "40MB/s" and > not other arbitrary number. > The overhead includes many different things including hardware latency. However the big one is USB communication itself. That is static, you can't change it and it doesn't vary(assuming same communication type). Your reported speeds are typical, and in all likelihood would be very similar under another OS. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 03:13:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40DDC106566B for ; Mon, 23 Jul 2012 03:13:52 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 1D6A68FC16 for ; Mon, 23 Jul 2012 03:13:52 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id q6N3DoaT077779 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 22 Jul 2012 20:13:50 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id q6N3Dokc077778; Sun, 22 Jul 2012 20:13:50 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA12997; Sun, 22 Jul 12 20:11:06 PDT Date: Mon, 23 Jul 2012 03:10:40 -0700 From: perryh@pluto.rain.com To: bonomi@mail.r-bonomi.com Message-Id: <500d2320.f8bzaFvCSay0b7rK%perryh@pluto.rain.com> References: <201207222012.q6MKCxPe025704@mail.r-bonomi.com> In-Reply-To: <201207222012.q6MKCxPe025704@mail.r-bonomi.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 03:13:52 -0000 Robert Bonomi wrote: > MSDOS/PCDOS had -no- O/S functions to directly access actual disk > devices. The ONLY fuctionality provided to the user, by the "O/S" > was filesystem based access. To get 'raw' device access, one had > to bypass the O/S entirely, and use direct BIOS calls (INT 13h). FALSE TO FACT. MSDOS/PCDOS had no _documented_ functions to directly access the disks, bypassing the file system, but the functions _did_ exist. The debugger's "read sector" and "write sector" commands used them, and I suspect chkdsk, scandisk, and format probably also used them although I never had occasion to verify one way or the other. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 04:02:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A06611065673 for ; Mon, 23 Jul 2012 04:02:13 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 5C6468FC12 for ; Mon, 23 Jul 2012 04:02:13 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6N43iBQ029276 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 23:03:44 -0500 (CDT) Date: Sun, 22 Jul 2012 23:03:44 -0500 (CDT) From: Robert Bonomi Message-Id: <201207230403.q6N43iBQ029276@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <500d2320.f8bzaFvCSay0b7rK%perryh@pluto.rain.com> Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 04:02:13 -0000 > From perryh@pluto.rain.com Sun Jul 22 22:15:48 2012 > Date: Mon, 23 Jul 2012 03:10:40 -0700 > From: perryh@pluto.rain.com > To: bonomi@mail.r-bonomi.com > Cc: freebsd-questions@freebsd.org > Subject: Re: fsck on FAT32 filesystem? > > Robert Bonomi wrote: > > > MSDOS/PCDOS had -no- O/S functions to directly access actual disk > > devices. The ONLY fuctionality provided to the user, by the "O/S" > > was filesystem based access. To get 'raw' device access, one had > > to bypass the O/S entirely, and use direct BIOS calls (INT 13h). > > FALSE TO FACT. > > MSDOS/PCDOS had no _documented_ functions to directly access the > disks, bypassing the file system, but the functions _did_ exist. I'm sure you can provide the DOS 'function number' for those calls, and cites to published data confirming. > The debugger's "read sector" and "write sector" commands used them, > and I suspect chkdsk, scandisk, and format probably also used them > although I never had occasion to verify one way or the other. My experince in porting MSDOS 3.1 to a non pc-clone architecture was that fdisk, format, chkdsk, debug, and sys all invoked INT 13H directly. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 04:55:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D26C106564A for ; Mon, 23 Jul 2012 04:55:25 +0000 (UTC) (envelope-from h.skuhra@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0B11D8FC12 for ; Mon, 23 Jul 2012 04:55:24 +0000 (UTC) Received: by yhfs35 with SMTP id s35so5937441yhf.13 for ; Sun, 22 Jul 2012 21:55:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:to:subject:in-reply-to:references:user-agent :mime-version:content-type; bh=V8ZuxB/IHgpIWm8TRwiNt3/Z1d4xK0oCMADlZir2OTM=; b=G6XyzINJtG8QREH7qdQrc1WI826ez0vmozrT7fJdOGRvCwruTqi3CQ2MEBbdVUiwKK xbeWmdXt3JTasdui4HDgzo6Zy3HxTMmjpRLGnecC7FOzu28kFSZqCJfpiKNykOn+j5Jr BjzDqKMoTfhVN3amBvwZ4wxPi8jQh+BGLm9XvnYSIHmPWPE16UsioQMTHDmwQiKWShn6 sa4X0+BwVbYI8ZSAOiigj43jblIZnQgUFIixzE6vlx0rGm1o8D5gIopQFMoXUQ8PKxJk 0bWPKwn0ht6IjEAdTDuZX8G6CYflHZegXegJqhdg7HltvpEOMmLLzS9//LATtxnsWjlu ZQpw== Received: by 10.236.108.202 with SMTP id q50mr13546141yhg.6.1343019324629; Sun, 22 Jul 2012 21:55:24 -0700 (PDT) Received: from oslo.ath.cx ([2001:470:1f0b:b9a:213:77ff:fead:38d5]) by mx.google.com with ESMTPS id c64sm23317768yhj.17.2012.07.22.21.55.22 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 21:55:23 -0700 (PDT) Date: Mon, 23 Jul 2012 06:55:19 +0200 Message-ID: <87y5mbdqko.wl%h.skuhra@gmail.com> From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org In-Reply-To: References: <87fw8yariq.wl%h.skuhra@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.1.50 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Subject: Re: Jails on FreeBSD 9.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 04:55:25 -0000 On Sat, 21 Jul 2012 16:10:56 +0200 "Herbert J. Skuhra" wrote: > On Sat, Jul 21, 2012 at 11:24 AM, Herbert J. Skuhra wrote: > > Hi, > > > > ok, this is obviously a pf problem and the reason why the network in > > the jail doesn't work. > > > > ifconfig lo1 create > > ifconfig lo1 10.0.0.10 netmask 0xffffff00 > > nc -s 10.0.0.10 xx.xx.xx.xx 25 > > > > With pf: connections fails; server receives SYN-ACK, but nc continues > > sending SYNs until nc gives up > > > > With ipfw: connection OK > > > > On my Soekris box at home (9.1-PRERELEASE i386) both ipfw and pf works. > > Could this be a bug in the fxp driver? > I have a 2nd machine with a fxp nic. Same problem. Thanks to yongari@ the issue could be resolved on both machines by disabling receive checksum offloading (ifconfig fxp0 -rxsum). -- Herbert From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 04:56:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9C901065672 for ; Mon, 23 Jul 2012 04:56:09 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id AE99F8FC19 for ; Mon, 23 Jul 2012 04:56:09 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1StAgi-0006BP-5M for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 21:56:08 -0700 Date: Sun, 22 Jul 2012 21:56:08 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1343019368157-5729100.post@n5.nabble.com> In-Reply-To: References: <1342992043358-5729028.post@n5.nabble.com> <1342998350089-5729042.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 04:56:09 -0000 Apparently my speeds are pretty decent, as this this advertised speed relates to read speed, and write one is pretty weak. People are reporting 62-70MB/s read and 17-31MB/s write. Are you saying that disk clearly bumping from 40MB/s read barrier (as I saw in midnight commander is my imagination or it's cause is totally unrelated to OS? I thought it's worth investigating, as FreeBSD coincidentally reports USB 2.0 ports as such. -- View this message in context: http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028p5729100.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 04:59: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 2CD601065670 for ; Mon, 23 Jul 2012 04:59:56 +0000 (UTC) (envelope-from yanglei.fage@gmail.com) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id D88338FC0A for ; Mon, 23 Jul 2012 04:59:55 +0000 (UTC) Received: by qabg1 with SMTP id g1so972136qab.13 for ; Sun, 22 Jul 2012 21:59:55 -0700 (PDT) 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=OgrA4mDmRmRu7QXc1v5gfcqnvqwnUNzDlZAzR38YoA4=; b=QtY/cRp03rDJnB/XhQjcVglYa2OkxqbrwFob/AbobfC7BVOzKdFZM9wVQN1VAFx+Ra i3xDN04KDTFlp6/Ur2o2wQG2z8kRf4afxbdT+JRG4Fn+u0K/+NtzWP9bDPvsWRu2G8+b 9FlS7G2hoEuBqd+uEVXSx7Fs2WlUqxYZsnDwKa7sKG8ae8IVd2CXgO4xjl6j/QPVn9gW BNgPSEhphKXsy2P4gpFpuB1G9FCgzPOH+uDaU54m4pLRD6ldE4zYhwnrO8HGZ/z2TYlK Y/Vj72Tjhr7H5fhCvvi1SGdYuBlrs3ZcP5eQRf86Im0BikkGrS5XAlJzCeJ005/8i1e4 aW+A== MIME-Version: 1.0 Received: by 10.229.135.195 with SMTP id o3mr6655441qct.87.1343019595168; Sun, 22 Jul 2012 21:59:55 -0700 (PDT) Received: by 10.229.169.132 with HTTP; Sun, 22 Jul 2012 21:59:55 -0700 (PDT) In-Reply-To: <20120722182545.39d6b96c.freebsd@edvax.de> References: <20120722182545.39d6b96c.freebsd@edvax.de> Date: Mon, 23 Jul 2012 12:59:55 +0800 Message-ID: From: lei yang To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 04:59:56 -0000 On Mon, Jul 23, 2012 at 12:25 AM, Polytropon wrote: > On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: >> Hi, >> >> I want to build a "netcat" on my local pc (ubuntu) with gcc, is it >> possible? I'm new to free bsd > > I hope I don't misunderstand your intention: You are trying to > build a Linux executable of netcat from FreeBSD's sources? > > You _do_ know that FreeBSD and Linux (here: Ubuntu) are two > totally different operating systems. I'm not sure code is > compatible at this level (but it maybe _could_ be, you'd > have to try it). > > The netcat program (nc) is part of the FreeBSD operating > system for some time now. There's also a port of netcat > in /usr/ports/net/netcat (which can also be used). That > port's Makefile lists some sources: > > ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/ > > ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/ > > http://www.planetmirror.com/pub/lprng/TOOLS/ > > You could try to use that source distribution as well. > > Thanks for the great help, I have built it successfully on my ubuntu. I find it's not the version I want I want use the version on Rehat,which has a "-U" flag( yes, I want to use this flag) but the above version has no this flag on redhat: usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port] [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version] [-x proxy_address[:port]] [hostname] [port[s]] Command Summary: -4 Use IPv4 -6 Use IPv6 -D Enable the debug socket option -d Detach from stdin -h This help text -i secs Delay interval for lines sent, ports scanned -k Keep inbound sockets open for multiple connects -l Listen mode, for inbound connects -n Suppress name/port resolutions -p port Specify local port for remote connects -r Randomize remote ports -s addr Local source address -T ToS Set IP Type of Service -C Send CRLF as line-ending -t Answer TELNET negotiation -U Use UNIX domain socket -u UDP mode -v Verbose -w secs Timeout for connects and final net reads -X proto Proxy protocol: "4", "5" (SOCKS) or "connect" -x addr[:port] Specify proxy address and port -z Zero-I/O mode [used for scanning] Port numbers can be individual or ranges: lo-hi [inclusive] ------------------------------------------------------------------------------------------------------------------ with the above you list: lyang0@lyang0-OptiPlex-755:~/tmp/nc110$ ./nc -help [v1.10] connect to somewhere: nc [-options] hostname port[s] [ports] ... listen for inbound: nc -l -p port [-options] [hostname] [port] options: -g gateway source-routing hop point[s], up to 8 -G num source-routing pointer: 4, 8, 12, ... -h this cruft -i secs delay interval for lines sent, ports scanned -l listen mode, for inbound connects -n numeric-only IP addresses, no DNS -o file hex dump of traffic -p port local port number -r randomize local and remote ports -s addr local source address -u UDP mode -v verbose [use twice to be more verbose] -w secs timeout for connects and final net reads -z zero-I/O mode [used for scanning] port numbers can be individual or ranges: lo-hi [inclusive] it has no "-U" flag, can you point me where I get this version Lei > >> I have to quesion: >> 1)where to download it's source it for "netcat" > > They can be found in /usr/src/contrib/netcat/ once you have > extracted the source distribution of FreeBSD. Depending on > which version of the OS (branch, revision, platform) you > need, you have to select the corresponding archive from > one of the download mirrors. > > Visit http://www.freebsd.org/ to find out where and how > to obtain FreeBSD (or components of it). I would suggest > using one of the FTP servers that are accessible for you > at a good speed. > > > >> 2)how to build it on ubuntu with gcc? only make? > > I'm not even sure Linux will be able to compile FreeBSD > sources. A "typical Linux build" would consist of the > three commands > > # ./configure > # make > # make install > > but FreeBSD's OS sources don't need the 1st step. The > Makefiles distributed also do use "BSD make", not "GNU make" > (often refered to as gmake on non-Linux systems). > > > > If this isn't the answer to your question, feel free to be > more specific. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 05:36: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 9F7981065688 for ; Mon, 23 Jul 2012 05:36:34 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 233F88FC08 for ; Mon, 23 Jul 2012 05:36:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q6N5RogZ069191; Mon, 23 Jul 2012 15:27:50 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 23 Jul 2012 15:27:50 +1000 (EST) From: Ian Smith To: Eugen Konkov In-Reply-To: <20120722120042.DC8371065678@hub.freebsd.org> Message-ID: <20120723144551.K37097@sola.nimnet.asn.au> References: <20120722120042.DC8371065678@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: ipfw counters for tables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 05:36:34 -0000 In freebsd-questions Digest, Vol 424, Issue 10, Message: 10 On Sun, 22 Jul 2012 14:55:46 +0300 Eugen Konkov wrote: Hi Eugen, > I use ipfw tables to allow host to access to internet. > is there counter for matched packets/bytes for table entry like for > ipfw rule? > > #ipfw show 901 > rule packets bytes > 00901 302271108 27717115967 allow ip from 10.10.1.3 to any > > #ipfw table 7 list > ---table(7)--- > 10.7.60.41/32 100 > > No counters here ((( No, there are no individual counters for matched entries in tables. Apart from extra space cost, the accounting time cost would be huge; lookups are fast but updating radix trees per match would be very slow. Also, a table may be referenced in multiple rules, or even twice in the same rule, so what could such a count really indicate? Of course, counts for matching the table are in the rule/s concerned: 16100 58300 3060562 deny log logamount 20 ip from table(1) to any in recv ng0 16200 4449 226060 deny log logamount 20 tcp from table(25) to any dst-port 25,110 in recv ng0 setup 23000 45 2700 allow log logamount 100 tcp from table(22) to w.x.y.z dst-port 22 in recv ng0 setup Myself, I'd be more interested in a last-match timestamp than a count for table entries, but that won't happen either for the above reasons :) cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 06:32:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CA171065672 for ; Mon, 23 Jul 2012 06:32:00 +0000 (UTC) (envelope-from murthykvvsn@drreddys.com) Received: from mail2.drreddys.com (mail2.drreddys.com [202.3.66.84]) by mx1.freebsd.org (Postfix) with ESMTP id B40DB8FC08 for ; Mon, 23 Jul 2012 06:31:59 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlsHAGbuDFDAqAHI/2dsb2JhbABFhSujHAGOTYMmgmEDI0GBIccEi02DN4McA4hMknqMdw X-IronPort-AV: E=Sophos;i="4.77,637,1336329000"; d="scan'208";a="13743764" Received: from unknown (HELO drreddys.co.in) ([192.168.1.200]) by mail2.drreddys.com with ESMTP; 23 Jul 2012 12:00:49 +0530 From: murthykvvsn@drreddys.com To: freebsd-questions@freebsd.org Message-ID: Date: Mon, 23 Jul 2012 12:14:21 +0530 X-MIMETrack: Serialize by Router on WEBSERV/DRG/IN(Release 8.5.2|August 10, 2010) at 07/23/2012 12:00:54 PM MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: AUTO: KVVSN Murthy is out of the office. (returning 07/25/2012) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 06:32:00 -0000 I am out of the office until 07/25/2012. In my obsence, please coordinate with Mr.KN Rao for PET related activities. Note: This is an automated response to your message "freebsd-questions Digest, Vol 424, Issue 10" sent on 7/22/2012 5:30:41 PM. This is the only notification you will receive while this person is away. Disclaimer This message contains legally privileged and/or confidential information. If you are not the intended recipient(s), or employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this e-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this e-mail message from your computer. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 06:32: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 0ACFE1065675 for ; Mon, 23 Jul 2012 06:32:27 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id A72498FC15 for ; Mon, 23 Jul 2012 06:32:26 +0000 (UTC) Received: by vcbgb22 with SMTP id gb22so2742798vcb.13 for ; Sun, 22 Jul 2012 23:32:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=P35sbou4wq58gkwSIRJQx7iBznnYlaaOOMke0O4llhk=; b=rNj1g6nzORkMpypOwrATM5RnQGvtGuPUS1XYC/Y6mqH/+xxLe7IZ0PeOwsblmHQ9pi KKgwn80k9Uzl4aF6PriMX2vmV0nFMSSXPyp7Lj+vMNJtFwcWaIeOljNN8p0Q+r9Ct6EK FrsClmMuPpCL46F/ERR8g452hjVPIsqiGbOU8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=P35sbou4wq58gkwSIRJQx7iBznnYlaaOOMke0O4llhk=; b=kuYqnHc8PQqeUSojGqqHcLuEuR5zfzWBGE8k9UhbzVnE+AHB4YeIJIDKZK6yoBAKSi s5iKLtwW5WJ6hKswWtBbRNHAzb8KgVKVxl3c44MsFDPDHYYU8Q6nuDTdWtc0SR8WpcTb N4OVH6KZ086eN/77mQ0vKX/31DNm3e/NdLkC6Ebjr2RqxXVcKEB7DoI+jxyZ00yDd+gY 14odcliUNk8QsCUxayD6OCrqFt9EYtFEdYkfKRc5XtwO0sMIRl5JxDfZOv6u74lz11Lb CQbSd1E6qukXnmqpkociqahvREGzDZBY/Mw0SR31BpDAFyzOK/w/iwgGgQt6xqLg/NVh LMFA== Received: by 10.220.204.212 with SMTP id fn20mr11364066vcb.43.1343025145268; Sun, 22 Jul 2012 23:32:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.193.10 with HTTP; Sun, 22 Jul 2012 23:31:54 -0700 (PDT) In-Reply-To: <87y5mbdqko.wl%h.skuhra@gmail.com> References: <87fw8yariq.wl%h.skuhra@gmail.com> <87y5mbdqko.wl%h.skuhra@gmail.com> From: Eitan Adler Date: Sun, 22 Jul 2012 23:31:54 -0700 Message-ID: To: "Herbert J. Skuhra" Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQn15Xa2yyMzdmSmPBnwICgJyvGfVxx0Ao+ZZo0mxVFC8UNM6nzi7YM8uoJbL++R9OYU9wdi Cc: freebsd-questions@freebsd.org Subject: Re: Jails on FreeBSD 9.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 06:32:27 -0000 On 22 July 2012 21:55, Herbert J. Skuhra wrote: > On Sat, 21 Jul 2012 16:10:56 +0200 > "Herbert J. Skuhra" wrote: > >> On Sat, Jul 21, 2012 at 11:24 AM, Herbert J. Skuhra wrote: >> > Hi, >> > >> > ok, this is obviously a pf problem and the reason why the network in >> > the jail doesn't work. >> > >> > ifconfig lo1 create >> > ifconfig lo1 10.0.0.10 netmask 0xffffff00 >> > nc -s 10.0.0.10 xx.xx.xx.xx 25 >> > >> > With pf: connections fails; server receives SYN-ACK, but nc continues >> > sending SYNs until nc gives up >> > >> > With ipfw: connection OK >> > >> > On my Soekris box at home (9.1-PRERELEASE i386) both ipfw and pf works. >> >> Could this be a bug in the fxp driver? >> I have a 2nd machine with a fxp nic. Same problem. > > Thanks to yongari@ the issue could be resolved on both machines by > disabling receive checksum offloading (ifconfig fxp0 -rxsum). If this is a fxp bug, can you please file a PR explaining the issue and how to reproduce it? -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 07:40:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5B6E1065674 for ; Mon, 23 Jul 2012 07:40:23 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5E48FC08 for ; Mon, 23 Jul 2012 07:40:22 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6N7eKbk007635; Mon, 23 Jul 2012 09:40:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6N7eKjr007632; Mon, 23 Jul 2012 09:40:20 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 23 Jul 2012 09:40:20 +0200 (CEST) From: Wojciech Puchar To: Jakub Lach In-Reply-To: <1342994216549-5729035.post@n5.nabble.com> Message-ID: References: <1342992043358-5729028.post@n5.nabble.com> <1342994216549-5729035.post@n5.nabble.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 23 Jul 2012 09:40:21 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 07:40:23 -0000 > dd if=/dev/zero of=/dev/da0 bs=1 to 15M > > runs, 13-14MB/s from actual files copied > in mc to flash and 36-39MB/s file copied > from flash to hdd in mc. > > dd if=/dev/da0 of=/dev/zero bs=15m > > gives 33MB/s read. and this is incredibly high as of any pendrive. Consider few things: - pendrive flash mappers are incredibly dumb, they work in usable speed when you do linear write only. - today lies are standard. never believe in stated performance unless you measure it. > even recognized in FreeBSD as device. what i do with any pendrive: dd if=/dev/zero of=/dev/da0 bs=64k count=1 newfs_msdosfs /dev/da0 (if i want FAT filesystem) partition table is not needed in any OS, including Windows starting from XP. msdosfs in FreeBSD isn't high performance too. try writing small amount of huge files. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 07:41:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AED41106564A for ; Mon, 23 Jul 2012 07:41:20 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 07E958FC23 for ; Mon, 23 Jul 2012 07:41:19 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6N7fIAp007641; Mon, 23 Jul 2012 09:41:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6N7fIPG007638; Mon, 23 Jul 2012 09:41:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 23 Jul 2012 09:41:18 +0200 (CEST) From: Wojciech Puchar To: Jakub Lach In-Reply-To: <1342992043358-5729028.post@n5.nabble.com> Message-ID: References: <1342992043358-5729028.post@n5.nabble.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 23 Jul 2012 09:41:19 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 07:41:20 -0000 > And USB 2.0 hard limit is 60MB/s. i have never seen USB 2.0 exceeding 35MB/s write and 40MB/s read. even when connecting SATA disk over USB-SATA bridge. 60MB/s is wire speed. USB have enormous protocol overhead. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 07:53:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8A001065675 for ; Mon, 23 Jul 2012 07:53:04 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 8AE628FC19 for ; Mon, 23 Jul 2012 07:53:04 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id q6N7r2ps092921 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 23 Jul 2012 00:53:02 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id q6N7r2sN092920; Mon, 23 Jul 2012 00:53:02 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA14000; Mon, 23 Jul 12 00:41:55 PDT Date: Mon, 23 Jul 2012 07:41:28 -0700 From: perryh@pluto.rain.com To: bonomi@mail.r-bonomi.com Message-Id: <500d6298.mW4a90i/Zh2U1/xR%perryh@pluto.rain.com> References: <201207230403.q6N43iBQ029276@mail.r-bonomi.com> In-Reply-To: <201207230403.q6N43iBQ029276@mail.r-bonomi.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 07:53:04 -0000 Robert Bonomi wrote: > > MSDOS/PCDOS had no _documented_ functions to directly access the > > disks, bypassing the file system, but the functions _did_ exist. > > I'm sure you can provide the DOS 'function number' for those calls, > and cites to published data confirming. They may have involved a dedicated INT or two, e.g. INT 25H and/or INT 26H, rather than INT 21H with a function number in AX. I could have provided specifics 25 years ago :) when I was involved with this stuff on a daily basis. I have no idea whether it was ever published, but it was well known to those of us who were using it in system-level utilities. > > The debugger's "read sector" and "write sector" commands used them, > > and I suspect chkdsk, scandisk, and format probably also used them > > although I never had occasion to verify one way or the other. > > My experince in porting MSDOS 3.1 to a non pc-clone architecture was > that fdisk, format, chkdsk, debug, and sys all invoked INT 13H directly. I've got you beat in seniority :) I was mostly working on 2.x, and got out of the business somewhere around 3.1 or 3.2. I think I'd remember if our stuff had quit working when 3.x came along, but it's possible that those interfaces were only retained for compatibility -- to avoid breaking old 3rd-party code -- and that the MS userland had been revised to call the BIOS directly (since by then the market consisted almost entirely of PCs and clones -- decidedly not the case in the 2.0-2.1 timeframe). BTW fdisk _would_ always have had to use BIOS calls, or some other platform-specific mechanism, since the direct disk access in DOS was restricted to the DOS partition(s). The parameters were something like buffer address, logical drive number (0 => A:, 2 => C:, etc.), starting sector within the logical drive, and number of sectors. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 09:08:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B8191065672 for ; Mon, 23 Jul 2012 09:08:28 +0000 (UTC) (envelope-from h.skuhra@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 47E708FC18 for ; Mon, 23 Jul 2012 09:08:28 +0000 (UTC) Received: by yenl8 with SMTP id l8so6110977yen.13 for ; Mon, 23 Jul 2012 02:08:21 -0700 (PDT) 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=nuQq9EN/kdeBfBq1/WjtZ5131Y/BJdAOD7MVbka0LHY=; b=hqExoYtuMAOwBr9Bn9YRiUV2PH/9syL0dhL+ZIVdRjAgv3rGqdanV+tdG/F1Z1mQsG DxzJKGyEM9C+cyTVNWALrq+Kf72tCCdCFfdO7t8+A34UBWRUbrDGw6BAz/2eQA56Qlkx m/y74RsWJPCb7m/+gbyCsL9+t0GfjU2qHQTgwOQnl0SX/qHRx6L2XouJpl1qd/u7u6sX LXh/VgZsxRhMsCHk2+azGYWJJgFr7NsUcXwaii8ZVy65r4Ql7oQTgQv9s6+cGDbECXTN +zRJ9qrRx5fCBD7EN1eofQGBPrKO67i2K0IWj51+DrfIWB2DVzOuTJmHB45f15+2llzN TopA== MIME-Version: 1.0 Received: by 10.66.78.196 with SMTP id d4mr616668pax.76.1343034501405; Mon, 23 Jul 2012 02:08:21 -0700 (PDT) Received: by 10.68.239.67 with HTTP; Mon, 23 Jul 2012 02:08:21 -0700 (PDT) In-Reply-To: References: <87fw8yariq.wl%h.skuhra@gmail.com> <87y5mbdqko.wl%h.skuhra@gmail.com> Date: Mon, 23 Jul 2012 11:08:21 +0200 Message-ID: From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Re: Jails on FreeBSD 9.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 09:08:28 -0000 On Mon, Jul 23, 2012 at 8:31 AM, Eitan Adler wrote: > If this is a fxp bug, can you please file a PR explaining the issue > and how to reproduce it? kern/170081 -- Herbert From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 09:44:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75EC8106564A; Mon, 23 Jul 2012 09:44:54 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from blu0-omc1-s9.blu0.hotmail.com (blu0-omc1-s9.blu0.hotmail.com [65.55.116.20]) by mx1.freebsd.org (Postfix) with ESMTP id 32B0A8FC0C; Mon, 23 Jul 2012 09:44:54 +0000 (UTC) Received: from BLU0-SMTP157 ([65.55.116.7]) by blu0-omc1-s9.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 23 Jul 2012 02:43:47 -0700 X-Originating-IP: [180.215.31.69] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Received: from [127.0.0.1] ([180.215.31.69]) by BLU0-SMTP157.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 23 Jul 2012 02:43:44 -0700 Date: Mon, 23 Jul 2012 15:16:04 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Matthias Apitz References: <201207210840.18122.erichfreebsdlist@ovitrap.com> <20120721133611.GA3755@tinyCurrent> In-Reply-To: <20120721133611.GA3755@tinyCurrent> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 23 Jul 2012 09:43:45.0919 (UTC) FILETIME=[A75398F0:01CD68B7] Cc: Erich Dollansky , freebsd-questions@freebsd.org, brix@freebsd.org Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 09:44:54 -0000 On 21-Jul-12 19:06, Matthias Apitz wrote: > El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish Jain escribió: > >> Hello Erich/Matthias, >> >> Thanks for your responses. >> >> I do not have the usbdump command on my system. usbconfig gives the >> following output : >> ... >> ugen0.2:> Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON >> ugen1.2: at usbus1, cfg=0 md=HOST >> spd=FULL (12Mbps) pwr=ON >> ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH >> (480Mbps) pwr=SAVE >> >> >> PFA ppp.log. As you will find, it repeatedly complains of /dev/cuaU0.0 >> being an invalid file. But the output of 'ls -l' shows the contrary : >> >> ... >> crw-rw---- 1 uucp dialer 0, 143 Jul 21 17:38 cuaU0.0 >> crw-rw---- 1 uucp dialer 0, 144 Jul 21 17:38 cuaU0.0.init >> crw-rw---- 1 uucp dialer 0, 145 Jul 21 17:38 cuaU0.0.lock >> crw-rw---- 1 uucp dialer 0, 149 Jul 21 17:38 cuaU0.1 >> crw-rw---- 1 uucp dialer 0, 150 Jul 21 17:38 cuaU0.1.init >> crw-rw---- 1 uucp dialer 0, 151 Jul 21 17:38 cuaU0.1.lock >> crw-rw---- 1 uucp dialer 0, 155 Jul 21 17:38 cuaU0.2 >> crw-rw---- 1 uucp dialer 0, 156 Jul 21 17:38 cuaU0.2.init >> crw-rw---- 1 uucp dialer 0, 157 Jul 21 17:38 cuaU0.2.lock >> crw-rw---- 1 uucp dialer 0, 44 Jul 21 17:38 cuau0 >> crw-rw---- 1 uucp dialer 0, 45 Jul 21 17:38 cuau0.init >> crw-rw---- 1 uucp dialer 0, 46 Jul 21 17:38 cuau0.lock >> ... >> >> >> Thanks for any tips/help. Which port do I need to install to get usbdump ? > First of all, do not top-post. > > 'usbdump' is part of the system, but only from beginning at some > version; > > Are you sure that /dev/cuaU0.0 belongs to the modem? Please, detach it, > look with 'ls -l /dev/cuaU*' if it went away, attach it again. > Please show the messages from /var/log/messages on attach. > > If the /dev/cuaU0.0 device really belongs to the modem, install 'kermit' > from the ports, create a file ~/.kermrc with > > set line /dev/cuaU0.0 > set speed 9600 > set escape 21 > set carrier-watch off > set rec pack 1000 > set send pack 1000 > set window 5 > set prompt FreeBSD Kermit> > > and check it you can talk to the modem with kermit; the command ATI2 > should say something about the modem device. > > One should be first able to talk to the modem with a terminal (like > kermit), then bring chat(1) to work and after this watch ppp log, in > that order. > > HIH > > matthias Hi, I am still stuck because I can't know the syntax to run usbdump. usbdump says use the id's provided by lsusb but I forgot to install sysutils/usbutils while I still had the EC1261 Huawei stick. Can someone please send me the sources for this port (sysutils/usbutils) ? I will need the complete sources for PORTVERSION 0.86 as a gzipped tar (please remove freebsd-questions@freebsd.org from addresses if sending), as I cannot currently connect my FreeBSD box to the internet. BTW, cuaU0[.*] are always there on my system, whether my EC1561 stick is plugged in or not. So I am surely using the wrong device as the modem. The following lines are there in my devfs.conf : link ugen0.2 usv own usv root:operator perm usv 666 link cuaU0.0 modem own modem root:operator perm modem 666 Thank you & Regards, Manish Jain +91-99620-10329 From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 10:02:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC0D7106566C for ; Mon, 23 Jul 2012 10:02:57 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 91A648FC12 for ; Mon, 23 Jul 2012 10:02:57 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1StFTc-0003EV-FP for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 03:02:56 -0700 Date: Mon, 23 Jul 2012 03:02:56 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1343037776471-5729143.post@n5.nabble.com> In-Reply-To: References: <1342992043358-5729028.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 10:02:57 -0000 > i have never seen USB 2.0 exceeding 35MB/s write and 40MB/s read. That means I essentially got what I wanted- as high read output as possible on USB 2.0. Thanks. Indeed 35MB/s-40MB/s is common reported maximum throughput. > dd if=/dev/zero of=/dev/da0 bs=64k count=1 > newfs_msdosfs /dev/da0 Apart from bs= that's exactly what I did (Well, there was one /dev/random/ run prior.) What I previously meant is that I had such pendrive, that without former formatting in Windows, didn't even show up as device in FreeBSD- was completely useless. That does not mean I didn't newfs_msdosfsed it after that in FreeBSD (worked perfectly fine since) :) -- View this message in context: http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028p5729143.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 10:13: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 D03131065688 for ; Mon, 23 Jul 2012 10:13:56 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward3.mail.yandex.net (forward3.mail.yandex.net [IPv6:2a02:6b8:0:602::3]) by mx1.freebsd.org (Postfix) with ESMTP id DAC7C8FC1A for ; Mon, 23 Jul 2012 10:13:55 +0000 (UTC) Received: from smtp4.mail.yandex.net (smtp4.mail.yandex.net [77.88.46.104]) by forward3.mail.yandex.net (Yandex) with ESMTP id 77E16B425E6; Mon, 23 Jul 2012 14:13:54 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1343038434; bh=tMhYphFWqtywyh+75nvdUxgKZ3j1cN+lmd5wKCu7NMc=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=s0Rr4cu7DO42gKr14Mf8LQS4vQZ/2NjFnTUwie72+SDpU52YGU7GaHSqa4xN3fy6j oKyEXRsrxgvrLK1e25zEFo/QyrDeM8D6/hS+x1cm0T6O9vUE4tR3NH/ovUjZksCTXQ tL63uCXVUwQNnr1r1fG6/TecFfyQR2fyhnZ/kPM0= Received: from smtp4.mail.yandex.net (localhost [127.0.0.1]) by smtp4.mail.yandex.net (Yandex) with ESMTP id 542BF5C02B7; Mon, 23 Jul 2012 14:13:54 +0400 (MSK) Received: from unknown (unknown [77.93.52.20]) by smtp4.mail.yandex.net (nwsmtp/Yandex) with ESMTP id DrKiXlGG-DrKKfVlH; Mon, 23 Jul 2012 14:13:53 +0400 X-Yandex-Rcpt-Suid: smithi@nimnet.asn.au X-Yandex-Rcpt-Suid: freebsd-questions@freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1343038434; bh=tMhYphFWqtywyh+75nvdUxgKZ3j1cN+lmd5wKCu7NMc=; 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=o1tJX7OMtjRXDh/E/JrfFCK98F26M6Ky29lT3ec/XpWi9J3dvhfLlPKaYYADyn7Y3 XEGQt764X4r3EPWXt54Jy006RWCBde7AzYkFZ66ncIVHbxa7WkUNjRpjcu39ibfDkZ 57hjDugVN+kabkpzrU8gAaripNXfcTnvBqDPYkfo= Date: Mon, 23 Jul 2012 13:13:47 +0300 From: Eugen Konkov X-Mailer: The Bat! (v4.0.24) Professional Organization: ISP FreeLine X-Priority: 3 (Normal) Message-ID: <1443021317.20120723131347@yandex.ru> To: Ian Smith In-Reply-To: <20120723144551.K37097@sola.nimnet.asn.au> References: <20120722120042.DC8371065678@hub.freebsd.org> <20120723144551.K37097@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re[2]: ipfw counters for tables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugen Konkov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 10:13:56 -0000 Çäðàâñòâóéòå, Ian. Âû ïèñàëè 23 èþëÿ 2012 ã., 8:27:50: IS> In freebsd-questions Digest, Vol 424, Issue 10, Message: 10 IS> On Sun, 22 Jul 2012 14:55:46 +0300 Eugen Konkov wrote: IS> Hi Eugen, >> I use ipfw tables to allow host to access to internet. >> is there counter for matched packets/bytes for table entry like for >> ipfw rule? >> >> #ipfw show 901 >> rule packets bytes >> 00901 302271108 27717115967 allow ip from 10.10.1.3 to any >> >> #ipfw table 7 list >> ---table(7)--- >> 10.7.60.41/32 100 >> >> No counters here ((( IS> No, there are no individual counters for matched entries in tables. IS> Apart from extra space cost, the accounting time cost would be huge; IS> lookups are fast but updating radix trees per match would be very slow. IS> Also, a table may be referenced in multiple rules, or even twice in the IS> same rule, so what could such a count really indicate? IS> Of course, counts for matching the table are in the rule/s concerned: IS> 16100 58300 3060562 deny log logamount 20 ip from table(1) to any in recv ng0 IS> 16200 4449 226060 deny log logamount 20 tcp from IS> table(25) to any dst-port 25,110 in recv ng0 setup IS> 23000 45 2700 allow log logamount 100 tcp from IS> table(22) to w.x.y.z dst-port 22 in recv ng0 setup but if lookup function will return matched entry, then calling rule may update appropriate counter. matchedentry= lookup_table( PACKETDATA ); updatecounter(matchedentry); #ipfw show 16100 16100 58300 3060562 deny *counttable* log logamount 20 ip from table(1) to any in recv ng0 50000 3000000 10.5.0.1/32 300 562 10.5.0.7/32 8000 60000 10.5.0.2/32 will this be slow? IS> Myself, I'd be more interested in a last-match timestamp than a count IS> for table entries, but that won't happen either for the above reasons :) IS> cheers, Ian -- Ñ óâàæåíèåì, Eugen mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 10:35: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 ACA8C106566B; Mon, 23 Jul 2012 10:35:27 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 46A9F8FC0C; Mon, 23 Jul 2012 10:35:27 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6NAZITI025284; Mon, 23 Jul 2012 04:35:20 -0600 From: Erich Dollansky To: Manish Jain Date: Mon, 23 Jul 2012 17:37:42 +0700 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.7.4; amd64; ; ) References: <20120721133611.GA3755@tinyCurrent> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201207231737.43075.erichfreebsdlist@ovitrap.com> Cc: Matthias Apitz , freebsd-questions@freebsd.org, brix@freebsd.org Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 10:35:27 -0000 Hi, On Monday 23 July 2012 16:46:04 Manish Jain wrote: > On 21-Jul-12 19:06, Matthias Apitz wrote: > > El d=EDa Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish Jain es= cribi=F3: > > > I am still stuck because I can't know the syntax to run usbdump. usbdump= =20 man usbdump usbconfig gives you the device numbers. > Can someone please send me the sources for this port (sysutils/usbutils)= =20 All you need at this stage is in the base. > (please remove freebsd-questions@freebsd.org from addresses if sending),= =20 > as I cannot currently connect my FreeBSD box to the internet. If we do no other people will be able to help you. >=20 > BTW, cuaU0[.*] are always there on my system, whether my EC1561 stick is= =20 It might be your UPS. Erich From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 10:37:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95EF41065675 for ; Mon, 23 Jul 2012 10:37:31 +0000 (UTC) (envelope-from pnz.list@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 574A38FC0A for ; Mon, 23 Jul 2012 10:37:31 +0000 (UTC) Received: by obbun3 with SMTP id un3so12074434obb.13 for ; Mon, 23 Jul 2012 03:37:30 -0700 (PDT) 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 :content-type; bh=q068g/suk2hnY/F/ue64APkySkMDid668wCXsS8NUc4=; b=OrtAIYj6dxvyQZIBa0XnR4Dg3nz5PvXM5lH5EPHeQZYZlLb96LbG539CgdyvsF2C5O qpjIq/xfy/77oNb3ELhkGES0hR86rBun9c3oyaZYUTxb7HskUB7vfD5ul/3DczXf75/u JEyTNgUroe+gzE9g0cq5IhvE9LD01TDqb5N0awuDrnPhar0IexlBQo4AxSabS3pau0Ns VDlJTgWJEaA/0hekoEXgvsqnt0vrxsXWkp2+AXCgUykY/aWRfCyHDTZ3Q0ja8Ctgj4OB K+IC6vTyYMRwFzVMjWCBmDfuL4NRSPizXDUcXkUWYnIUWGQ/N96WIzOZ9RKm0ElCtrwc rDZQ== Received: by 10.182.226.41 with SMTP id rp9mr20070834obc.22.1343039850813; Mon, 23 Jul 2012 03:37:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.49.1 with HTTP; Mon, 23 Jul 2012 03:37:00 -0700 (PDT) In-Reply-To: <500A2773.1060100@holgerdanske.com> References: <500A2773.1060100@holgerdanske.com> From: Vladislav Date: Mon, 23 Jul 2012 14:37:00 +0400 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: PCBSD9.0-x64-DVD and Intel HD Graphics 2000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 10:37:31 -0000 On Sat, Jul 21, 2012 at 7:52 AM, David Christensen < dpchrist@holgerdanske.com> wrote: > freebsd-questions: > > I've installed PCBSD9.0-x64-DVD on the following hardware: > > Intel DQ67SW motherboard > Intel i7-2600S processor > Corsair CMV8GX3M2A1333C9 memory (DDR3, 1333 MHz, 2@4 GB dual) > Intel SSDSC2CW060A310 solid-state drive (520 series, 60 GB) > Nokia 445XiPlus monitor (21" CRT, high bandwidth) > > > For video, I would like to use the Intel HD Graphics 2000 provided by the > processor and motherboard. When I run the PC-BSD Display Settings applet: > > 1. The "intel" and/or "intel-3d-enable" Video Driver settings do not seem > to have any effect. > > 2. The Monitor Settings do not seem to have any effect. > > 3. The Screen Resolution setting seems to work, but I am unable to affect > the refresh rate. (I prefer 1600x1200 @ 85 Hz.) > > > I have updated the system using Update Manager, and the problems persist. > > > Any suggestions? > > > TIA, > > David > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > http://wiki.freebsd.org/Intel_GPU From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 10:48:55 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16563106564A for ; Mon, 23 Jul 2012 10:48:55 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id A37938FC0A for ; Mon, 23 Jul 2012 10:48:54 +0000 (UTC) Received: by ggnm2 with SMTP id m2so6179965ggn.13 for ; Mon, 23 Jul 2012 03:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=KqT3AyY0HkcoO30x+A+1/Cl+jzWCzjHFJyIhwXV5/fg=; b=qRJwuSNTGW3yUL6ZlEj7BbwUgyk3Dka6MqZuWOMCTwgxxQGHzO2WqOMFAKl4nYvn1R C0zlO2g5jueu9tvvQhZXXwxLnvdzHZqr3ERO7/UqniLQCWEIcJJrhxV4Blfrx+SJgq7q XabaWpRhd/aqPHHKRuFMaxMxcDNZOX7FCuo2M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=KqT3AyY0HkcoO30x+A+1/Cl+jzWCzjHFJyIhwXV5/fg=; b=Am1JMm1pYEhp2q90HQGy8OQz/Xq/HUFOTyIdTlUyTAzurEa3zOU8ZTcJhAooCkPDUO i91lbtvVaQc6tyMCf0L7PGmEGVcrClWa9y+kQAPIEYwN0ucfFLr1x3pAMaxBDLzEH3NF /dgmPHUa4KIoGdcnDUYz8KzBlbiMYUSFaT59+dgrZB9HRYM5+aUhv6c2xfgcKAUxmwXA CpoTg2sbC5tDsn6916lfHHFyOgVLUbID4cdclb/1PDwha2FxWdCZvoAtfV83IkDCSU5W MWtgigVXuZkHyWJuEPJkI0iTB9pHwYiI+MR690f9lToSiZe4jJA3KEAlgOtiQz4+KTdS r94A== Received: by 10.236.177.1 with SMTP id c1mr5650432yhm.71.1343040533849; Mon, 23 Jul 2012 03:48:53 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id i65sm24474021yhb.3.2012.07.23.03.48.52 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Jul 2012 03:48:52 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3WgfZV6T49z2CG4F for ; Mon, 23 Jul 2012 06:48:50 -0400 (EDT) Date: Mon, 23 Jul 2012 06:48:50 -0400 From: Jerry To: FreeBSD Message-ID: <20120723064850.59451f74@scorpio> In-Reply-To: <1343037776471-5729143.post@n5.nabble.com> References: <1342992043358-5729028.post@n5.nabble.com> <1343037776471-5729143.post@n5.nabble.com> Organization: seibercom.net X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmBM152K2NvH7u1Ef0UQKcXlOkFHWjDoTPHRcmARtHmwlmFpxHkXDZGVrPN6DgQGWl2GQeq Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 10:48:55 -0000 On Mon, 23 Jul 2012 03:02:56 -0700 (PDT) Jakub Lach articulated: > What I previously meant is that I had such pendrive, that > without former formatting in Windows, didn't even show > up as device in FreeBSD- was completely useless. > > That does not mean I didn't newfs_msdosfsed it after > that in FreeBSD (worked perfectly fine since) :) I experienced that phenomena of a drive not being recognized once also. However, after formatting it in Windows why duplicate it again in FreeBSD? It serves no purpose that I am aware of. By the way, it is too bad that FreeBSD is not able to take advantage of the "exFat" format like other distributions do. -- Jerry â™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Paul Revere was a tattle-tale. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 10:55:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E51D0106564A for ; Mon, 23 Jul 2012 10:55:57 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id BB3098FC14 for ; Mon, 23 Jul 2012 10:55:57 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1StGIv-0000tP-EK for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 03:55:57 -0700 Date: Mon, 23 Jul 2012 03:55:57 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1343040957437-5729157.post@n5.nabble.com> In-Reply-To: <20120723064850.59451f74@scorpio> References: <1342992043358-5729028.post@n5.nabble.com> <1343037776471-5729143.post@n5.nabble.com> <20120723064850.59451f74@scorpio> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 10:55:58 -0000 > However, after formatting it in Windows why duplicate it again in > FreeBSD? Just to check if it works as should, also trim sectors and whatever. Format without partition table? But in this case, no 1 reason was probably most important. -- View this message in context: http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028p5729157.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 11:11: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 7460810656B8 for ; Mon, 23 Jul 2012 11:11:19 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id D425D8FC15 for ; Mon, 23 Jul 2012 11:11:18 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6NBBEDM008705 for ; Mon, 23 Jul 2012 13:11:14 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6NBBEvj008702 for ; Mon, 23 Jul 2012 13:11:14 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 23 Jul 2012 13:11:14 +0200 (CEST) From: Wojciech Puchar To: FreeBSD In-Reply-To: <20120723064850.59451f74@scorpio> Message-ID: References: <1342992043358-5729028.post@n5.nabble.com> <1343037776471-5729143.post@n5.nabble.com> <20120723064850.59451f74@scorpio> 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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 23 Jul 2012 13:11:14 +0200 (CEST) Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 11:11:19 -0000 > However, after formatting it in Windows why duplicate it again in > FreeBSD? It serves no purpose that I am aware of. By the way, it is too > bad that FreeBSD is not able to take advantage of the "exFat" format fusefs-exfat in ports still i don't really care, i would reformat in as FAT32 anyway. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 11:11: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 783331065693 for ; Mon, 23 Jul 2012 11:11:58 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id D5FCE8FC1B for ; Mon, 23 Jul 2012 11:11:57 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6NBBv4Q008711; Mon, 23 Jul 2012 13:11:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6NBBuHi008708; Mon, 23 Jul 2012 13:11:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 23 Jul 2012 13:11:56 +0200 (CEST) From: Wojciech Puchar To: Jakub Lach In-Reply-To: <1343040957437-5729157.post@n5.nabble.com> Message-ID: References: <1342992043358-5729028.post@n5.nabble.com> <1343037776471-5729143.post@n5.nabble.com> <20120723064850.59451f74@scorpio> <1343040957437-5729157.post@n5.nabble.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 23 Jul 2012 13:11:57 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 11:11:58 -0000 > Format without partition table? yes. Windows recognizes it properly except Win98/95 (which doesn't work with large USB drives anyway). From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 11:13: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 5CD12106567F for ; Mon, 23 Jul 2012 11:13:30 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id BF9828FC19 for ; Mon, 23 Jul 2012 11:13:29 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6NBDSjc008717; Mon, 23 Jul 2012 13:13:29 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6NBDSZL008714; Mon, 23 Jul 2012 13:13:28 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 23 Jul 2012 13:13:28 +0200 (CEST) From: Wojciech Puchar To: Jakub Lach In-Reply-To: <1343037776471-5729143.post@n5.nabble.com> Message-ID: References: <1342992043358-5729028.post@n5.nabble.com> <1343037776471-5729143.post@n5.nabble.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 23 Jul 2012 13:13:29 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 11:13:30 -0000 > What I previously meant is that I had such pendrive, that > without former formatting in Windows, didn't even show > up as device in FreeBSD- was completely useless. the result of XXI century "way" of programming - flash translator firmware in that case. They don't even read specs about USB storage, just it is fine if it works (seems to work) in windoze. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 11:14: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 6395D1065675 for ; Mon, 23 Jul 2012 11:14:15 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id B03658FC1C for ; Mon, 23 Jul 2012 11:14:14 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6NBEDi6008723; Mon, 23 Jul 2012 13:14:13 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6NBEC6W008720; Mon, 23 Jul 2012 13:14:13 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 23 Jul 2012 13:14:12 +0200 (CEST) From: Wojciech Puchar To: perryh@pluto.rain.com In-Reply-To: <500d6298.mW4a90i/Zh2U1/xR%perryh@pluto.rain.com> Message-ID: References: <201207230403.q6N43iBQ029276@mail.r-bonomi.com> <500d6298.mW4a90i/Zh2U1/xR%perryh@pluto.rain.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 23 Jul 2012 13:14:13 +0200 (CEST) Cc: freebsd-questions@freebsd.org, bonomi@mail.r-bonomi.com Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 11:14:15 -0000 > > I could have provided specifics 25 years ago :) when I was involved > with this stuff on a daily basis. I have no idea whether it was same as me. still it is off topic. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 10:45:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EFA81065670 for ; Mon, 23 Jul 2012 10:45:43 +0000 (UTC) (envelope-from mru258@yahoo.com) Received: from nm1.bullet.mail.bf1.yahoo.com (nm1.bullet.mail.bf1.yahoo.com [98.139.212.160]) by mx1.freebsd.org (Postfix) with SMTP id D74608FC0A for ; Mon, 23 Jul 2012 10:45:42 +0000 (UTC) Received: from [98.139.214.32] by nm1.bullet.mail.bf1.yahoo.com with NNFMP; 23 Jul 2012 10:45:36 -0000 Received: from [98.139.215.251] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 23 Jul 2012 10:45:36 -0000 Received: from [127.0.0.1] by omp1064.mail.bf1.yahoo.com with NNFMP; 23 Jul 2012 10:45:36 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 190921.77346.bm@omp1064.mail.bf1.yahoo.com Received: (qmail 64046 invoked by uid 60001); 23 Jul 2012 10:45:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1343040335; bh=83UAPn61gbsj5K7jp1GRqyLlrDFEE8OMrMHH0oyOf0k=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=NtK8SF0Q4OOyCsJZDn4tl6EdiWirOBy0euwG+RDfEuYl+ijijwKS4UVD2k9KX6I4JhB6s9DgBLAQIHqkyueCs+NeiODRiuN8b8R2iukNP18q04Z/mfiKZJsZlH6z3ALR9CgXC4wkpK+/QKypn4fQLSPfmj0XoPbMfDNEtLruMEk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nf2PCkVcnT6dBuGEPhHy2oPx2UpfY7/d18nJ3T6/EHVM+Aj7aOiwRSdAW9Dswb5YoXFNzohMfykhPO80EpvDdEmbr7k2lEES+QCS/w3/KqgEf9EbjV36UXtvXOsUUwKaOtiKM/J5PvFDU+6QsSKoC9TsbQMpB9TVKNKnZkB8nrI=; X-YMail-OSG: TKRua1kVM1l7pp056pS1vUmbacxsrPlfamZqjdAiMF1kkgn xiclgHT84SzTmDk4bDxVemoNoPI4t89STi0rtb3DWyaTka0Pb0Ef0pFXxid. 0Fo5WYzNETXa6zQ8eIku93pTjPNFyRuD8LvECI71NAnFRyeW56IvjSlf.kT5 WPHDdAyB6bCFyjZpjC30aQxG6GDrPvmFEjWEDEskRFkbvnECSHPptU4f4e.n iK1_TenIk38VhnjNorIatsgG99Qnp0mSY0QKCDNet164T9ky7XIg9HAzXq27 0eAeo7Xi_J.7XVOQqR1jfqQuDJyND292UOeVqYopvogGBc.QtxVe2eY87Dk8 tW5kKYks5Lh1qgYqpy_0Pf05ob7x4AbMIx4FyMcOknm.38aJNRU1fULElYDI 84ky6bqNpknfqZkfpauXoyYlLBYWizAVcZqhJjXA05RxNDoKyz_5KMCutx6P EgI6EZ_yWnYk5_ulTpSs.sQ-- Received: from [188.245.200.97] by web140703.mail.bf1.yahoo.com via HTTP; Mon, 23 Jul 2012 03:45:35 PDT X-Mailer: YahooMailWebService/0.8.120.356233 Message-ID: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> Date: Mon, 23 Jul 2012 03:45:35 -0700 (PDT) From: Mr U To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 23 Jul 2012 11:32:58 +0000 Subject: Question about install from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mr U List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 10:45:43 -0000 hi all=0A=0AI want to install openbox from ports collection.=0Afreebsd=A0at= tempting to download libxml2 from fr.rpmfind.net but=A0=0AI don't know why = connection speed slow down after a while and finally=0Afailed.=0A=0Ais it p= ossible to change download location (mirror) or is it possible to download = file manually=A0=0Aand add file in openbox dir?=0A=0Athank you all=0Amru From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 11:00:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B5D7106564A for ; Mon, 23 Jul 2012 11:00:39 +0000 (UTC) (envelope-from mru258@yahoo.com) Received: from nm15-vm0.bullet.mail.bf1.yahoo.com (nm15-vm0.bullet.mail.bf1.yahoo.com [98.139.212.254]) by mx1.freebsd.org (Postfix) with SMTP id A751A8FC08 for ; Mon, 23 Jul 2012 11:00:38 +0000 (UTC) Received: from [98.139.212.152] by nm15.bullet.mail.bf1.yahoo.com with NNFMP; 23 Jul 2012 11:00:38 -0000 Received: from [98.139.215.249] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 23 Jul 2012 11:00:38 -0000 Received: from [127.0.0.1] by omp1062.mail.bf1.yahoo.com with NNFMP; 23 Jul 2012 11:00:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 183601.35437.bm@omp1062.mail.bf1.yahoo.com Received: (qmail 17205 invoked by uid 60001); 23 Jul 2012 11:00:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1343041238; bh=ZrMmWN9NCZbJq38FR0dCd/O/Np9kuFBmaZzgUXL3YmI=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ZCfTEHzrYtjSNvWTkVNoJSaINyhRj0rep2mMcX+92dSgQu0XLH1gh80rEiynjBO/sloBZa4PjdqaSl1WwoVssYi/mTL3haMDzEN3+VOUK2PJ4MJOyskAUFSa8v1rW7E9k/XFbDNY4Vj9aTegdDypcwftQVGcQ1I5A/o8aCB6Qsg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MgFix1HEXZVTP9Gw9eVh3HfbhhmWmj8Mq86tx/URKqQyw+ZjTj5AYulXR/1607Oh4MCyPZE0OJ1HAXFODWtJr+QZmPbrnDXiUw2AQeGMAlXBDqC5NsJTFXNAoao0PjGuiewh/1D8XU+zTTPuY9T6MCvb5KyZoAappwS70SOTjvM=; X-YMail-OSG: zUQJCpwVM1nsnvmqaYoLpK9A6CyY4ASrfXsnd2qOiwP9v7H FeRuTZuX9UeQy8mpKSMYMOWcytFfrDwkznedcHdMBUYA_Kdp70DJwiJngVbF O1bs.oDT7iXg3WmAwjUssYmQh.VSjcKICAwaynXmz_lcQh0HYx09JZdxIhRt mhKLFWfK_vvOyQoEUe39tHQamHIc8qzuZcBxcdfWsskD0wrIsvHFt9_JEdlT Q5.TmcuDH2R8QfmXZEr8k6lcElxXeXWca34b7vUcrIOTB5Ik99nn3CU6qFO1 Ojgi0f_.WLYK2ZE.Db2X1qSgHoiYqyozAhAxEbGZ9Ymt3fo8MaVCAJb2E9nk N6KdgG4mG8zqqXTLpoON62OjP4P3lwT2qsrGhJyFQGEyb1VdFLkDGZA8Tas1 Pmc6lqUZ0bbYhrP.xFqQOFwkdz1Xvrqxo_rdVBCnuqvQMEmClHygOq7gBTxD xuCyuMeHeZixAL4vSyrc.n1KD4_n9EgNi5VnWnJ6k2Pg- Received: from [188.245.200.97] by web140704.mail.bf1.yahoo.com via HTTP; Mon, 23 Jul 2012 04:00:37 PDT X-Mailer: YahooMailWebService/0.8.120.356233 References: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> Message-ID: <1343041237.15788.YahooMailNeo@web140704.mail.bf1.yahoo.com> Date: Mon, 23 Jul 2012 04:00:37 -0700 (PDT) From: Mr U To: "freebsd-questions@freebsd.org" In-Reply-To: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 23 Jul 2012 11:34:41 +0000 Subject: Question about install from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mr U List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 11:00:39 -0000 hi all=0A=0A=0AI want to install openbox from ports collection.=0Afreebsd= =A0attempting to download libxml2 from fr.rpmfind.net but=A0=0AI don't know= why connection speed slow down after a while and finally=0Afailed.=0A=0Ais= it possible to change download location (mirror) or is it possible to down= load file manually=A0=0Aand add file in openbox dir?=0A=0Athank you all=0Am= ru=0A From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 13:28: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 921111065672 for ; Mon, 23 Jul 2012 13:28:27 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 45D7D8FC18 for ; Mon, 23 Jul 2012 13:28:27 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6NDSNRT005171; Mon, 23 Jul 2012 07:28:25 -0600 From: Erich Dollansky To: freebsd-questions@freebsd.org Date: Mon, 23 Jul 2012 20:30:43 +0700 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.7.4; amd64; ; ) References: <500A2773.1060100@holgerdanske.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207232030.44075.erichfreebsdlist@ovitrap.com> Cc: Vladislav Subject: Re: PCBSD9.0-x64-DVD and Intel HD Graphics 2000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 13:28:27 -0000 Hi, On Monday 23 July 2012 17:37:00 Vladislav wrote: > On Sat, Jul 21, 2012 at 7:52 AM, David Christensen < > dpchrist@holgerdanske.com> wrote: > > > freebsd-questions: > > > > I've installed PCBSD9.0-x64-DVD on the following hardware: this where the problem starts. If nothing changed since I used this, it only supports VESA on i7 CPUs. > > > > I have updated the system using Update Manager, and the problems persist. > > What does this affect? Also the FreeBSD part? I am now running FreeBSD 10 on an i7 without any problems. It should also be possible to get the same result with a current 9.0. > > > > Any suggestions? Do the same what I have done. Use PC-BSD just to get a machine running and then update to FreeBSD. and of couse: > > > > http://wiki.freebsd.org/Intel_GPU Erich From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 13:30:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1581B106566B for ; Mon, 23 Jul 2012 13:30:26 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id BB51D8FC19 for ; Mon, 23 Jul 2012 13:30:25 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6NDUL5E005770; Mon, 23 Jul 2012 07:30:23 -0600 From: Erich Dollansky To: freebsd-questions@freebsd.org Date: Mon, 23 Jul 2012 20:32:46 +0700 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.7.4; amd64; ; ) References: <1342992043358-5729028.post@n5.nabble.com> <1343037776471-5729143.post@n5.nabble.com> <20120723064850.59451f74@scorpio> In-Reply-To: <20120723064850.59451f74@scorpio> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201207232032.46496.erichfreebsdlist@ovitrap.com> Cc: Jerry Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 13:30:26 -0000 Hi, On Monday 23 July 2012 17:48:50 Jerry wrote: > On Mon, 23 Jul 2012 03:02:56 -0700 (PDT) > Jakub Lach articulated: > > > What I previously meant is that I had such pendrive, that > > without former formatting in Windows, didn't even show > > up as device in FreeBSD- was completely useless. > > > > That does not mean I didn't newfs_msdosfsed it after > > that in FreeBSD (worked perfectly fine since) :) > > I experienced that phenomena of a drive not being recognized once also. > However, after formatting it in Windows why duplicate it again in > FreeBSD? It serves no purpose that I am aware of. By the way, it is too > bad that FreeBSD is not able to take advantage of the "exFat" format > like other distributions do. isn't there support for it via fuse? Erich From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 13:54: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 2EEF31065688 for ; Mon, 23 Jul 2012 13:54:32 +0000 (UTC) (envelope-from rwmaillists@googlemail.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 AADD28FC0C for ; Mon, 23 Jul 2012 13:54:31 +0000 (UTC) Received: by bkcje9 with SMTP id je9so5329320bkc.13 for ; Mon, 23 Jul 2012 06:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=IpqKia/+MVnxswuZUsujzNluKHLC8c+j/0TFpkpwPRs=; b=1F9d5tzzS8BtkrxoQKvDLTLiIsw3fHRRVsxe66x3ezM9rdo9r67bJehzdkk+e0uXlc NbRyjRABCbVgJDPFEH/adRo1JRl2GbYXzOENRrDgZ7nRdUW78AA/1lAFsMqM2I94sTvK 2p6SrPStsNvC1jXA+g1REt7UfOaIxY3p8OXi0b3Fs4TZbKa6iyimAZvfm1VG8dTr/Vre XV40NWLZnH71Az7P1mPLPI33fWnMtcduwioSEKwYtx1Inh+iYOmGP1bAq2RE5mV19F6X EfE6CbA4jH/aE5t8WOJgi2IT78aWms6dqeoxl8RqnXv/4xsZt17IbWhQyZ9vT2tlZXsY 9KwA== Received: by 10.204.148.82 with SMTP id o18mr7790057bkv.41.1343051670497; Mon, 23 Jul 2012 06:54:30 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id y20sm7630282bkv.11.2012.07.23.06.54.28 (version=SSLv3 cipher=OTHER); Mon, 23 Jul 2012 06:54:29 -0700 (PDT) Date: Mon, 23 Jul 2012 14:54:26 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20120723145426.6df0701d@gumby.homeunix.com> In-Reply-To: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> References: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Question about install from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 13:54:32 -0000 On Mon, 23 Jul 2012 03:45:35 -0700 (PDT) Mr U wrote: > hi all >=20 > I want to install openbox from ports collection. > freebsd=A0attempting to download libxml2 from fr.rpmfind.net but=A0 > I don't know why connection speed slow down after a while and finally > failed. >=20 > is it possible to change download location (mirror) or is it possible > to download file manually and add file in openbox dir? >=20 Temporarily set RANDOMIZE_MASTER_SITES=20 From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 14:26: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 B1C871065670 for ; Mon, 23 Jul 2012 14:26:07 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from lhscloud01.localhostservices.net (lhscloud01.localhostservices.net [83.222.226.222]) by mx1.freebsd.org (Postfix) with ESMTP id 61A8A8FC17 for ; Mon, 23 Jul 2012 14:26:07 +0000 (UTC) Received: from client-86-23-57-98.brhm.adsl.virginmedia.com ([86.23.57.98] helo=catflap.slightlystrange.org) by lhscloud01.localhostservices.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1StJAR-0007Ox-8r for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 14:59:23 +0100 Received: from dan by catflap.slightlystrange.org with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1StJAP-000P6c-9p for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 14:59:21 +0100 Date: Mon, 23 Jul 2012 14:59:21 +0100 From: Daniel Bye To: "freebsd-questions@freebsd.org" Message-ID: <20120723135921.GB4332@catflap.slightlystrange.org> Mail-Followup-To: "freebsd-questions@freebsd.org" References: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QKdGvSO+nmPlgiQ/" Content-Disposition: inline In-Reply-To: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 Sender: Daniel Bye Subject: Re: Question about install from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 14:26:07 -0000 --QKdGvSO+nmPlgiQ/ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 23, 2012 at 03:45:35AM -0700, Mr U wrote: > hi all >=20 > I want to install openbox from ports collection. > freebsd=A0attempting to download libxml2 from fr.rpmfind.net but=A0 > I don't know why connection speed slow down after a while and finally > failed. >=20 > is it possible to change download location (mirror) or is it possible to = download file manually=A0 > and add file in openbox dir? If you can find the file on a faster site, you can download it and put it in /usr/ports/distfiles/rpm/i386/fedora/10/ and restart the OpenBox build, or you can put these two settings in /etc/make.conf: MASTER_SITE_BACKUP?=3D \ ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ MASTER_SITE_OVERRIDE?=3D ${MASTER_SITE_BACKUP} Change the "uk" to point to a site near to your geographical location. With these lines, your ports system will first look for distfiles on the FreeBSD mirror site, and will only go to the MASTER_SITE in a port's Makefile if the FreeBSD site doesn't have the required file. This is sometimes faster than going to the MASTER_SITE first. Or, as RW suggested, try setting RANDOMIZE_MASTER_SITES. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --QKdGvSO+nmPlgiQ/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlANWLkACgkQixf5fBYiFmqSfwCeKtsBerAdg9UcA2W4UvApUkfx K8gAnj0Us+WuiFQZ9huHFeiTZ4YkigzY =kXD6 -----END PGP SIGNATURE----- --QKdGvSO+nmPlgiQ/-- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 14:36: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 66337106566B for ; Mon, 23 Jul 2012 14:36:13 +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 EB8EC8FC0A for ; Mon, 23 Jul 2012 14:36:12 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx02.qsc.de (Postfix) with ESMTP id 8993524CED; Mon, 23 Jul 2012 16:36:05 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6NEa4ts001969; Mon, 23 Jul 2012 16:36:05 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 23 Jul 2012 16:36:04 +0200 From: Polytropon To: lei yang Message-Id: <20120723163604.6e795aa4.freebsd@edvax.de> In-Reply-To: References: <20120722182545.39d6b96c.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 14:36:13 -0000 On Mon, 23 Jul 2012 12:59:55 +0800, lei yang wrote: > On Mon, Jul 23, 2012 at 12:25 AM, Polytropon wrote: > > On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: > >> Hi, > >> > >> I want to build a "netcat" on my local pc (ubuntu) with gcc, is it > >> possible? I'm new to free bsd > > > > I hope I don't misunderstand your intention: You are trying to > > build a Linux executable of netcat from FreeBSD's sources? > > > > You _do_ know that FreeBSD and Linux (here: Ubuntu) are two > > totally different operating systems. I'm not sure code is > > compatible at this level (but it maybe _could_ be, you'd > > have to try it). > > > > The netcat program (nc) is part of the FreeBSD operating > > system for some time now. There's also a port of netcat > > in /usr/ports/net/netcat (which can also be used). That > > port's Makefile lists some sources: > > > > ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/ > > > > ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/ > > > > http://www.planetmirror.com/pub/lprng/TOOLS/ > > > > You could try to use that source distribution as well. > > > > > > > Thanks for the great help, I have built it successfully on my ubuntu. > I find it's not the version I want > I want use the version on Rehat,which has a "-U" flag( yes, I want to > use this flag) but the above version has no this flag > > on redhat: > > usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port] > [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version] > [-x proxy_address[:port]] [hostname] [port[s]] > Command Summary: > -4 Use IPv4 > -6 Use IPv6 > -D Enable the debug socket option > -d Detach from stdin > -h This help text > -i secs Delay interval for lines sent, ports scanned > -k Keep inbound sockets open for multiple connects > -l Listen mode, for inbound connects > -n Suppress name/port resolutions > -p port Specify local port for remote connects > -r Randomize remote ports > -s addr Local source address > -T ToS Set IP Type of Service > -C Send CRLF as line-ending > -t Answer TELNET negotiation > -U Use UNIX domain socket > -u UDP mode > -v Verbose > -w secs Timeout for connects and final net reads > -X proto Proxy protocol: "4", "5" (SOCKS) or "connect" > -x addr[:port] Specify proxy address and port > -z Zero-I/O mode [used for scanning] > Port numbers can be individual or ranges: lo-hi [inclusive] > > ------------------------------------------------------------------------------------------------------------------ > with the above you list: > > lyang0@lyang0-OptiPlex-755:~/tmp/nc110$ ./nc -help > [v1.10] > connect to somewhere: nc [-options] hostname port[s] [ports] ... > listen for inbound: nc -l -p port [-options] [hostname] [port] > options: > -g gateway source-routing hop point[s], up to 8 > -G num source-routing pointer: 4, 8, 12, ... > -h this cruft > -i secs delay interval for lines sent, ports scanned > -l listen mode, for inbound connects > -n numeric-only IP addresses, no DNS > -o file hex dump of traffic > -p port local port number > -r randomize local and remote ports > -s addr local source address > -u UDP mode > -v verbose [use twice to be more verbose] > -w secs timeout for connects and final net reads > -z zero-I/O mode [used for scanning] > port numbers can be individual or ranges: lo-hi [inclusive] > > > it has no "-U" flag, can you point me where I get this version This indicates you did use the netcat version that also is in the FreeBSD Ports Collection. The netcat version that belongs to the FreeBSD system (the operating system itself) does seem to have the switch you need. >From my home FreeBSD box (8.2-STABLE of August 2011, i386), THIS is the netcat help message: % nc -help usage: nc [-46DdEhklnrStUuvz] [-e policy] [-I length] [-i interval] [-O length] [-P proxy_username] [-p source_port] [-s source] [-T ToS] [-V rtable] [-w timeout] [-X proxy_protocol] [-x proxy_address[:port]] [destination] [port] Command Summary: -4 Use IPv4 -6 Use IPv6 -D Enable the debug socket option -d Detach from stdin -E Use IPsec ESP -e policy Use specified IPsec policy -h This help text -I length TCP receive buffer length -i secs Delay interval for lines sent, ports scanned -k Keep inbound sockets open for multiple connects -l Listen mode, for inbound connects -n Suppress name/port resolutions --no-tcpopt Disable TCP options -O length TCP send buffer length -P proxyuser Username for proxy authentication -p port Specify local port for remote connects -r Randomize remote ports -S Enable the TCP MD5 signature option -s addr Local source address -T ToS Set IP Type of Service -t Answer TELNET negotiation -U Use UNIX domain socket -u UDP mode -V rtable Specify alternate routing table -v Verbose -w secs Timeout for connects and final net reads -X proto Proxy protocol: "4", "5" (SOCKS) or "connect" -x addr[:port] Specify proxy address and port -z Zero-I/O mode [used for scanning] Port numbers can be individual or ranges: lo-hi [inclusive] See ipsec_set_policy(3) for -e argument format It seems you sould then try to use the FreeBSD's netcat sources. In my previous message, I pointed out where to find it (i. e. in the system's sources). By the way, wouldn't it be easier to use Red Hat's netcat source to compile on Ubuntu, because both are Linusi (and therefore should be "more equal" to each other than Ubuntu to FreeBSD)? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 14:44:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 759FB106566B for ; Mon, 23 Jul 2012 14:44:36 +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 33D0B8FC12 for ; Mon, 23 Jul 2012 14:44:36 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx02.qsc.de (Postfix) with ESMTP id 533DB27730; Mon, 23 Jul 2012 16:44:35 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6NEiYiK001991; Mon, 23 Jul 2012 16:44:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 23 Jul 2012 16:44:34 +0200 From: Polytropon To: Mr U Message-Id: <20120723164434.9831a97a.freebsd@edvax.de> In-Reply-To: <1343041237.15788.YahooMailNeo@web140704.mail.bf1.yahoo.com> References: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> <1343041237.15788.YahooMailNeo@web140704.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" Subject: Re: Question about install from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 14:44:36 -0000 On Mon, 23 Jul 2012 04:00:37 -0700 (PDT), Mr U wrote: > is it possible to change download location (mirror) or is it possible to = download file manually=A0 > and add file in openbox dir? It is possible. First check the port's Makefile for where to obtain the required files from. There are typically more than one source listed. If one fails, try the next one. Then place the file in /usr/ports/distfiles and restart the build. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 15:29:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB850106564A for ; Mon, 23 Jul 2012 15:29:39 +0000 (UTC) (envelope-from yanglei.fage@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 811128FC12 for ; Mon, 23 Jul 2012 15:29:39 +0000 (UTC) Received: by qcsg15 with SMTP id g15so3983561qcs.13 for ; Mon, 23 Jul 2012 08:29:39 -0700 (PDT) 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=5imkt7VFypTcSanckNwpgQrstdzXzWHPAmp/fXIZnoI=; b=lBNeRdl6PK/YpSjlyZrENQ33+jAVOPj7bSDvo3UUULwvpHZPW6COEfDrU0ycbCrmfk a1ZkGOHfLG7Tz+J1AcFj/Px+eqIrKzT2z+0CpUtyZ9dIzMIBsAAxR/P7EsdgAZeTmAIe Gv2CrjQjuTg/UOvxCHNWP7LumFzYNP02o7FaBujOS1LO/33XX1Esw9pupkyz48uaPkrR aLmZZUwKchkwn7EMQpjqOk+nKVr/SAdJHjbHyWhNsFQun5ws0tw7r0kyYtvyAy9rjd+N rQimfo6E70IvhbNaohfolMijc/8svZxt1a3T3qnRDvMe/LKB1cmgijkn2AVyl8hH7WOh UnCA== MIME-Version: 1.0 Received: by 10.224.202.136 with SMTP id fe8mr25160103qab.17.1343057378990; Mon, 23 Jul 2012 08:29:38 -0700 (PDT) Received: by 10.229.169.132 with HTTP; Mon, 23 Jul 2012 08:29:38 -0700 (PDT) In-Reply-To: <20120723163604.6e795aa4.freebsd@edvax.de> References: <20120722182545.39d6b96c.freebsd@edvax.de> <20120723163604.6e795aa4.freebsd@edvax.de> Date: Mon, 23 Jul 2012 23:29:38 +0800 Message-ID: From: lei yang To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 15:29:39 -0000 On Mon, Jul 23, 2012 at 10:36 PM, Polytropon wrote: > On Mon, 23 Jul 2012 12:59:55 +0800, lei yang wrote: >> On Mon, Jul 23, 2012 at 12:25 AM, Polytropon wrote: >> > On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: >> >> Hi, >> >> >> >> I want to build a "netcat" on my local pc (ubuntu) with gcc, is it >> >> possible? I'm new to free bsd >> > >> > I hope I don't misunderstand your intention: You are trying to >> > build a Linux executable of netcat from FreeBSD's sources? >> > >> > You _do_ know that FreeBSD and Linux (here: Ubuntu) are two >> > totally different operating systems. I'm not sure code is >> > compatible at this level (but it maybe _could_ be, you'd >> > have to try it). >> > >> > The netcat program (nc) is part of the FreeBSD operating >> > system for some time now. There's also a port of netcat >> > in /usr/ports/net/netcat (which can also be used). That >> > port's Makefile lists some sources: >> > >> > ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/ >> > >> > ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/ >> > >> > http://www.planetmirror.com/pub/lprng/TOOLS/ >> > >> > You could try to use that source distribution as well. >> > >> > >> >> >> Thanks for the great help, I have built it successfully on my ubuntu. >> I find it's not the version I want >> I want use the version on Rehat,which has a "-U" flag( yes, I want to >> use this flag) but the above version has no this flag >> >> on redhat: >> >> usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port] >> [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version] >> [-x proxy_address[:port]] [hostname] [port[s]] >> Command Summary: >> -4 Use IPv4 >> -6 Use IPv6 >> -D Enable the debug socket option >> -d Detach from stdin >> -h This help text >> -i secs Delay interval for lines sent, ports scanned >> -k Keep inbound sockets open for multiple connects >> -l Listen mode, for inbound connects >> -n Suppress name/port resolutions >> -p port Specify local port for remote connects >> -r Randomize remote ports >> -s addr Local source address >> -T ToS Set IP Type of Service >> -C Send CRLF as line-ending >> -t Answer TELNET negotiation >> -U Use UNIX domain socket >> -u UDP mode >> -v Verbose >> -w secs Timeout for connects and final net reads >> -X proto Proxy protocol: "4", "5" (SOCKS) or "connect" >> -x addr[:port] Specify proxy address and port >> -z Zero-I/O mode [used for scanning] >> Port numbers can be individual or ranges: lo-hi [inclusive] >> >> ------------------------------------------------------------------------------------------------------------------ >> with the above you list: >> >> lyang0@lyang0-OptiPlex-755:~/tmp/nc110$ ./nc -help >> [v1.10] >> connect to somewhere: nc [-options] hostname port[s] [ports] ... >> listen for inbound: nc -l -p port [-options] [hostname] [port] >> options: >> -g gateway source-routing hop point[s], up to 8 >> -G num source-routing pointer: 4, 8, 12, ... >> -h this cruft >> -i secs delay interval for lines sent, ports scanned >> -l listen mode, for inbound connects >> -n numeric-only IP addresses, no DNS >> -o file hex dump of traffic >> -p port local port number >> -r randomize local and remote ports >> -s addr local source address >> -u UDP mode >> -v verbose [use twice to be more verbose] >> -w secs timeout for connects and final net reads >> -z zero-I/O mode [used for scanning] >> port numbers can be individual or ranges: lo-hi [inclusive] >> >> >> it has no "-U" flag, can you point me where I get this version > > This indicates you did use the netcat version that also is > in the FreeBSD Ports Collection. The netcat version that > belongs to the FreeBSD system (the operating system itself) > does seem to have the switch you need. > > From my home FreeBSD box (8.2-STABLE of August 2011, i386), > THIS is the netcat help message: > > % nc -help > usage: nc [-46DdEhklnrStUuvz] [-e policy] [-I length] [-i interval] [-O length] > [-P proxy_username] [-p source_port] [-s source] [-T ToS] > [-V rtable] [-w timeout] [-X proxy_protocol] > [-x proxy_address[:port]] [destination] [port] > Command Summary: > -4 Use IPv4 > -6 Use IPv6 > -D Enable the debug socket option > -d Detach from stdin > -E Use IPsec ESP > -e policy Use specified IPsec policy > -h This help text > -I length TCP receive buffer length > -i secs Delay interval for lines sent, ports scanned > -k Keep inbound sockets open for multiple connects > -l Listen mode, for inbound connects > -n Suppress name/port resolutions > --no-tcpopt Disable TCP options > -O length TCP send buffer length > -P proxyuser Username for proxy authentication > -p port Specify local port for remote connects > -r Randomize remote ports > -S Enable the TCP MD5 signature option > -s addr Local source address > -T ToS Set IP Type of Service > -t Answer TELNET negotiation > -U Use UNIX domain socket > -u UDP mode > -V rtable Specify alternate routing table > -v Verbose > -w secs Timeout for connects and final net reads > -X proto Proxy protocol: "4", "5" (SOCKS) or "connect" > -x addr[:port] Specify proxy address and port > -z Zero-I/O mode [used for scanning] > Port numbers can be individual or ranges: lo-hi [inclusive] > See ipsec_set_policy(3) for -e argument format > > > > It seems you sould then try to use the FreeBSD's netcat sources. > In my previous message, I pointed out where to find it (i. e. in > the system's sources). > Yes, the second version I post is using the source from you supplied, then I compiled it, but it has no "-U" flag like what I post, it seems a version different casued this. > By the way, wouldn't it be easier to use Red Hat's netcat source > to compile on Ubuntu, because both are Linusi (and therefore should > be "more equal" to each other than Ubuntu to FreeBSD)? > > I don't know where to find the source code in Red Hat. > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 15:52:46 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 50B80106566C for ; Mon, 23 Jul 2012 15:52:46 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 040F48FC08 for ; Mon, 23 Jul 2012 15:52:45 +0000 (UTC) Received: by ggnm2 with SMTP id m2so6570876ggn.13 for ; Mon, 23 Jul 2012 08:52:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=0oHdcQ5UzbMbY6+XhWZZoVnvbvf8uWOiawT2V8OY1Wo=; b=kCB/Fw3Ko+vCyaF0gBJRsvFqIYrb1FwEiu+1hTzYjAC2z9CUTdf/1INkFIXgnu55fu nj+ymlxW8uOi37d6CLvMACkh33EII6Q3dziYJdAbPGvvWwlsPZ+C4cMkquwJJdHgNH/l sMGddZzVya7R1paNBMpCF/7HeUVllF/9gERxJKMKzcN8jd2IrQjB3kxxVtHz0yqi+2E1 wM2CpVW0d/RKs2Qn2aS8UWODxwu1HIRoV2tHjeB4KS9FLfRvlFaAuGfDPNpei0/QTRhE KJra+aUwMFBB2Qn6oB7EAKlb78Bp8GJCEnspP9bPz+tRcm8TuqgbFaGZjhQPEFU2Yl2T PDzQ== MIME-Version: 1.0 Received: by 10.50.168.1 with SMTP id zs1mr11060427igb.45.1343058764159; Mon, 23 Jul 2012 08:52:44 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.43.52.6 with HTTP; Mon, 23 Jul 2012 08:52:44 -0700 (PDT) In-Reply-To: References: <20120722182545.39d6b96c.freebsd@edvax.de> <20120723163604.6e795aa4.freebsd@edvax.de> Date: Mon, 23 Jul 2012 11:52:44 -0400 X-Google-Sender-Auth: OC458gs2R0s0srtQco-tsGAGvVw Message-ID: From: Alejandro Imass To: lei yang Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnlAeqGOLSBcrbjnuHXpqY+gDLkm18hMaIecYnC3QIO/rFD2cnyw2wdD3Q8dsc+MmI2b4JQ Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 15:52:46 -0000 On Mon, Jul 23, 2012 at 11:29 AM, lei yang wrote: > On Mon, Jul 23, 2012 at 10:36 PM, Polytropon wrote: >> On Mon, 23 Jul 2012 12:59:55 +0800, lei yang wrote: >>> On Mon, Jul 23, 2012 at 12:25 AM, Polytropon wrote: >>> > On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: >>> >> Hi, [...] > > I don't know where to find the source code in Red Hat. > Why don't you just toss RedHat and use FreeBSD ? Most everything you run on Linux will run on FreeBSD and there are also Desktop-friendly distros of FreeBSD such as PC-BSD which, in Linux terms, is to FreeBSD somewhat akin to what Ubuntu is to Debian. Anyway, give PC-BSD a try and you won't regret it: http://www.pcbsd.org/ Cheers, -- Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 16:07: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 BA063106564A for ; Mon, 23 Jul 2012 16:07:09 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor2.peak.org (redcondor2.peak.org [69.59.192.56]) by mx1.freebsd.org (Postfix) with ESMTP id 8337F8FC0A for ; Mon, 23 Jul 2012 16:07:09 +0000 (UTC) Received: from zmail-mta01.peak.org ([207.55.16.111]) by redcondor2.peak.org ({6c724cae-de34-4c5f-b615-3072b86419fa}) via TCP (outbound) with ESMTP id 20120723160345082 for ; Mon, 23 Jul 2012 16:03:45 +0000 X-RC-FROM: X-RC-RCPT: Received: from birch.localnet (unknown [207.55.106.48]) by zmail-mta01.peak.org (Postfix) with ESMTPSA id B856249383F for ; Mon, 23 Jul 2012 09:03:44 -0700 (PDT) Received: from oak.localnet (oak.localnet [192.168.193.34]) by birch.localnet (Postfix) with ESMTP id 424E355E22 for ; Mon, 23 Jul 2012 09:03:43 -0700 (PDT) Received: from oak.localnet (localhost.localnet [127.0.0.1]) by oak.localnet (Postfix) with ESMTP id DD3B5BFCB for ; Mon, 23 Jul 2012 09:03:42 -0700 (PDT) Received: (from carlj@localhost) by oak.localnet (8.14.4/8.14.4/Submit) id q6NG3gYU099588; Mon, 23 Jul 2012 09:03:42 -0700 (PDT) (envelope-from carlj@peak.org) X-Authentication-Warning: oak.localnet: carlj set sender to carlj@peak.org using -f From: Carl Johnson To: freebsd-questions@freebsd.org References: <20120722182545.39d6b96c.freebsd@edvax.de> Mail-Followup-To: freebsd-questions@freebsd.org Date: Mon, 23 Jul 2012 09:03:42 -0700 In-Reply-To: (lei yang's message of "Mon, 23 Jul 2012 12:59:55 +0800") Message-ID: <87a9yq79cx.fsf@oak.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 16:07:09 -0000 lei yang writes: > On Mon, Jul 23, 2012 at 12:25 AM, Polytropon wrote: >> On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: >>> Hi, >>> >>> I want to build a "netcat" on my local pc (ubuntu) with gcc, is it >>> possible? I'm new to free bsd >> > > > it has no "-U" flag, can you point me where I get this version > Have you checked the other version of netcat already available? A quick check shows these four versions for Ubuntu: netcat: TCP/IP swiss army knife -- transitional package netcat-openbsd: TCP/IP swiss army knife netcat-traditional: TCP/IP swiss army knife netcat6: TCP/IP swiss army knife with IPv6 support -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 16:27:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7DF0106566B for ; Mon, 23 Jul 2012 16:27:11 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id A0B188FC0A for ; Mon, 23 Jul 2012 16:27:11 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1StLTM-0006JM-Sk for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 17:27:05 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1StLTM-0000c3-Mv for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 17:27:04 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q6NGR496098655 for ; Mon, 23 Jul 2012 17:27:04 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q6NGR4Eb098654 for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 17:27:04 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 23 Jul 2012 17:27:04 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20120723162704.GA98615@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: fetchmail ssl error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 16:27:12 -0000 I probably misunderstand how SSL certificates work. $ cat .fetchmailrc poll staff-imap-srv.bris.ac.uk protocol imap user "mexas" password "xxxxxxx" sslcertck sslcertfile /home/mexas/cert/uob-net-ca.crt fetchall $ $ fetchmail fetchmail: Server certificate verification error: self signed certificate in certificate chain fetchmail: This means that the root signing certificate (issued for /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root) is not in the trusted CA certificate locations, or that c_rehash needs to be run on the certificate directory. For details, please see the documentation of --sslcertpath and --sslcertfile in the manual page. 98631:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s3_clnt.c:984: fetchmail: staff-imap-srv.bris.ac.uk: upgrade to TLS failed. fetchmail: Unknown login or authentication error on mexas@epo.bris.ac.uk fetchmail: socket error while fetching from mexas@staff-imap-srv.bris.ac.uk fetchmail: Query status=2 (SOCKET) $ The /home/mexas/cert/uob-net-ca.crt file is supposed to be the univerisity certificate: -----BEGIN CERTIFICATE----- *several lines* -----END CERTIFICATE----- $ openssl verify uob-net-ca.crt uob-net-ca.crt: /O=University of Bristol/OU=IT Services (Networks)/emailAddress=service-desk@bristol.ac.uk/L=Bristol/ST=Avon/C=GB/CN=University of Bristol Net CA error 18 at 0 depth lookup:self signed certificate OK $ I read in the fetchmail manual something about c_rehash script, but I can only find one in /usr/ports/mail/cone/scripts/c_rehash The fetchmail also mentions that: *quote* Additionally, you might need to convert the certificates to different formats (the PEM format is expected and usually is available, DER is another one; you can convert between both using the openssl(1) utility's x509 sub-mode). *end quote* So, I'm not sure if I need to convert my certificate to PEM format or not? Please advise Many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 16:47:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2854A1065672 for ; Mon, 23 Jul 2012 16:47:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id D6E498FC17 for ; Mon, 23 Jul 2012 16:47:03 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx02.qsc.de (Postfix) with ESMTP id BEA6524528; Mon, 23 Jul 2012 18:47:02 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6NGl14Y002507; Mon, 23 Jul 2012 18:47:01 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 23 Jul 2012 18:47:01 +0200 From: Polytropon To: lei yang Message-Id: <20120723184701.f21a4744.freebsd@edvax.de> In-Reply-To: References: <20120722182545.39d6b96c.freebsd@edvax.de> <20120723163604.6e795aa4.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 16:47:04 -0000 On Mon, 23 Jul 2012 23:29:38 +0800, lei yang wrote: > Yes, the second version I post is using the source from you supplied, > then I compiled it, but it has no > "-U" flag like what I post, it seems a version different casued this. Yes. The version distributed by the ports collection is different from that one supplied with the base system of FreeBSD. To try _that_ version, you can download the source tarball and extract it; in the directory # wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.0-RELEASE/src.txz # tar xvf src.txz # cd cusr/src/ontrib/netcat/ # ls FREEBSD-Xlist FREEBSD-vendor atomicio.h netcat.c FREEBSD-upgrade atomicio.c nc.1 socks.c # You can check the FTP server for other versions of the OS (e. g. different branch and architecture, starting at ftp://ftp.freebsd.org/pub/FreeBSD/releases/, then selecting architecture and finally the OS version). There are also different ways of obtaining the sources, but the solution shown here should be sufficient. (You can use "tar xvf src.txz usr/src/contrib/netcat" to only extract the files for netcat instead of everything, but it _might_ be possible that the build process needs some files from other locations.) If you don't have wget installed, stock "ftp " command should also work for downloading. > I don't know where to find the source code in Red Hat. Me neither, but check "man hier" on a RH system to get the documentation about the file system hierarchy which should have detailed information on what is stored where. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 17:00:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DC90106566B for ; Mon, 23 Jul 2012 17:00:11 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from lhscloud01.localhostservices.net (lhscloud01.localhostservices.net [83.222.226.222]) by mx1.freebsd.org (Postfix) with ESMTP id 18F888FC15 for ; Mon, 23 Jul 2012 17:00:11 +0000 (UTC) Received: from client-86-23-57-98.brhm.adsl.virginmedia.com ([86.23.57.98] helo=catflap.slightlystrange.org) by lhscloud01.localhostservices.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1StLzN-0007q6-2n for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 18:00:09 +0100 Received: from dan by catflap.slightlystrange.org with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1StLzL-000MvR-02; Mon, 23 Jul 2012 18:00:07 +0100 Date: Mon, 23 Jul 2012 18:00:06 +0100 From: Daniel Bye To: Mr U Message-ID: <20120723170006.GA83930@catflap.slightlystrange.org> References: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> <20120723135921.GB4332@catflap.slightlystrange.org> <1343056127.13571.YahooMailNeo@web140702.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <1343056127.13571.YahooMailNeo@web140702.mail.bf1.yahoo.com> X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: Question about install from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 17:00:11 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 23, 2012 at 08:08:47AM -0700, Mr U wrote: > thank you dan >=20 > but how i can use=A0RANDOMIZE_MASTER_SITES temporary? > i tried google but i didn't find any info about this!!! It's just a shell variable, so you can temporarily set it by defining it on the command line for which you want it to apply. In this case, you'd want to go back to the OpenBox directory, and type RANDOMIZE_MASTER_SITES=3D1 make all install clean (That's the number one after the `=3D'. It doesn't really matter what value= it is set to - the important thing is that it's set) For this one command, RANDOMIZE_MASTER_SITES is in effect. Looking at this again, it seems I got myself confused as to where you should download the distribution file. I think your system is trying to download a plain tbz file, and not an RPM. If that's the case, the downloaded file will actually go in /usr/ports/distfiles. The fact you mentioned fr.rpmfind.net was enough to send me off down the wrong path... Sorry for making things more complicated than they needed to be! Dan >=20 >=20 >=20 >=20 > ----- Original Message ----- > From: Daniel Bye > To: "freebsd-questions@freebsd.org" > Cc:=20 > Sent: Monday, July 23, 2012 6:29 PM > Subject: Re: Question about install from ports >=20 > On Mon, Jul 23, 2012 at 03:45:35AM -0700, Mr U wrote: > > hi all > >=20 > > I want to install openbox from ports collection. > > freebsd=A0attempting to download libxml2 from fr.rpmfind.net but=A0 > > I don't know why connection speed slow down after a while and finally > > failed. > >=20 > > is it possible to change download location (mirror) or is it possible t= o download file manually=A0 > > and add file in openbox dir? >=20 > If you can find the file on a faster site, you can download it and put it= in > /usr/ports/distfiles/rpm/i386/fedora/10/ and restart the OpenBox build, or > you can put these two settings in /etc/make.conf: >=20 > MASTER_SITE_BACKUP?=3D=A0 =A0 \ > =A0 =A0 =A0 =A0 ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles/${DI= ST_SUBDIR}/ >=20 > MASTER_SITE_OVERRIDE?=3D=A0 ${MASTER_SITE_BACKUP} >=20 >=20 > Change the "uk" to point to a site near to your geographical location. Wi= th > these lines, your ports system will first look for distfiles on the FreeB= SD > mirror site, and will only go to the MASTER_SITE in a port's Makefile if = the > FreeBSD site doesn't have the required file.=A0 This is sometimes faster = than > going to the MASTER_SITE first. >=20 > Or, as RW suggested, try setting RANDOMIZE_MASTER_SITES. >=20 > Dan >=20 > --=20 > Daniel Bye > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 ASCII ribbon campaign ( ) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 - against HTML, vCards and=A0 X > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 - proprie= tary attachments in e-mail / \ >=20 >=20 --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlANgxYACgkQixf5fBYiFmrPjgCeOfDu3GLNm6uwLW/VF0Vt4gSd 9EsAoLeubmNFcfiBbWLH3yEEtK7JItUx =f2XA -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp-- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 19:06:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BD86106566B for ; Mon, 23 Jul 2012 19:06:14 +0000 (UTC) (envelope-from brentgclarklist@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 00E978FC15 for ; Mon, 23 Jul 2012 19:06:13 +0000 (UTC) Received: by vbmv11 with SMTP id v11so6234948vbm.13 for ; Mon, 23 Jul 2012 12:06:13 -0700 (PDT) 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=ErOgwMiEZvUe5D0A8aCT8SuIc49gMkDu5sS71Y6l4v4=; b=F2GJQHKYX0Jtyndn7589jXLNiwoBsxuAS6LXmYotnvEMeulCsN51PVif2Pngtkb3Ov wbKI/vLrirGeXwfsPfhcmynCa4RDESQiH2mT7IlM6MN64zZo8l9w8fMzh5DwLLBoCC6D XMadatkLQkmiF9Mf3kGdkvSu6hV9MqhlFrB8cVa5ywPa/lYRpPSi1t/NmbwPzzECe8R3 U8UrEQ4u1w2E2rcnx2JD+R2/qZHYytwkJTqDit7cLHn5n0JukczlgslFhntXuEPejqsi Dpn+c/LRJPo+mnctRmbVIg6Y8k/DAnXP1yDDAhnOjycStuI9AGxrBa0MDJFaesT61G2q d5Fg== MIME-Version: 1.0 Received: by 10.52.69.237 with SMTP id h13mr11917994vdu.82.1343070373450; Mon, 23 Jul 2012 12:06:13 -0700 (PDT) Received: by 10.220.32.79 with HTTP; Mon, 23 Jul 2012 12:06:13 -0700 (PDT) Date: Mon, 23 Jul 2012 21:06:13 +0200 Message-ID: From: Brent Clark To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Carp kernel module missing from FreeNAS? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 19:06:14 -0000 Guys Im looking to have a failover for my FreeNAS systsem. Im folllowing this, example ( http://qq929962616.72pines.com/2012/03/configure-highly-available-storage-on-freenas/ ), but is doesnt look like the Carp module is available. If that is true, anyone know how I can go about adding / enabling carp on FreeNAS. Someone made a suggestion of: FreeNAS uses a standard FreeBSD Kernel, so you can simply download the module from the FreeBSD FTP site and it will work. You have to have the right version however. How can or woulld I go about that? Your help would be most appreciated. Regards Brent Clark From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 19:21: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 97CE31065672 for ; Mon, 23 Jul 2012 19:21:12 +0000 (UTC) (envelope-from reckingball62@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 248F28FC0A for ; Mon, 23 Jul 2012 19:21:11 +0000 (UTC) Received: by weyx56 with SMTP id x56so5416110wey.13 for ; Mon, 23 Jul 2012 12:21:11 -0700 (PDT) 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=ffJ6Lyudmov9GCghw9hraCugH8lNgVP1RTI+1TtSUM8=; b=PCVp0Zl/NSaqC0iM/auz7I6N0k0E9VtOEbnRHl50VQWV10GQwH3FqCxa9qyA9wsP1L madX0Kzq5zzoK2KOI0xUokB/IU84DpBh+b3hDiNQk5vA9kt/71wRROqlsAVi9kqJPNso q6lOkVkcKNL+DeKXLaQcLGzDGD4PBeFcfC5tKd4x5YiNWCfD6HgzeKENqjQPUdrLvWiL cks2MGWDbk3/gb/V06SOrPP45lihQo3RpzKnVZVI/Fdmxza3ODpTmSe83WVUv3/V+HtZ 6NjPFrEgpPkM7IiG2DYm7Ag8ECmKb6juJAt2zsGX7SWTg0egyNvHIM5Ng3pPcpBgO4AP u+Vw== MIME-Version: 1.0 Received: by 10.180.20.239 with SMTP id q15mr236322wie.13.1343071271217; Mon, 23 Jul 2012 12:21:11 -0700 (PDT) Received: by 10.216.236.18 with HTTP; Mon, 23 Jul 2012 12:21:11 -0700 (PDT) Date: Mon, 23 Jul 2012 14:21:11 -0500 Message-ID: From: Andy Recker To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 19:21:12 -0000 do u answer questions about y computer aftwer trying to install your program From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 19:31: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 401AB106564A for ; Mon, 23 Jul 2012 19:31:34 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 9A01C8FC0A for ; Mon, 23 Jul 2012 19:31:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q6NJVVTb098991; Tue, 24 Jul 2012 05:31:32 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 24 Jul 2012 05:31:31 +1000 (EST) From: Ian Smith To: Eugen Konkov In-Reply-To: <1443021317.20120723131347@yandex.ru> Message-ID: <20120724044804.X37097@sola.nimnet.asn.au> References: <20120722120042.DC8371065678@hub.freebsd.org> <20120723144551.K37097@sola.nimnet.asn.au> <1443021317.20120723131347@yandex.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re[2]: ipfw counters for tables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 19:31:34 -0000 On Mon, 23 Jul 2012 13:13:47 +0300, Eugen Konkov wrote: > ????????????, Ian. > ?? ?????? 23 ???? 2012 ?., 8:27:50: > IS> In freebsd-questions Digest, Vol 424, Issue 10, Message: 10 > IS> On Sun, 22 Jul 2012 14:55:46 +0300 Eugen Konkov wrote: > IS> Hi Eugen, > > >> I use ipfw tables to allow host to access to internet. > >> is there counter for matched packets/bytes for table entry like for > >> ipfw rule? > >> > >> #ipfw show 901 > >> rule packets bytes > >> 00901 302271108 27717115967 allow ip from 10.10.1.3 to any > >> > >> #ipfw table 7 list > >> ---table(7)--- > >> 10.7.60.41/32 100 > >> > >> No counters here ((( > > IS> No, there are no individual count