From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 00:40:32 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 167E916A4CE for ; Sun, 20 Feb 2005 00:40:32 +0000 (GMT) Received: from sdf.lonestar.org (mx.freeshell.org [192.94.73.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7595943D31 for ; Sun, 20 Feb 2005 00:40:31 +0000 (GMT) (envelope-from tiberius@sdf.lonestar.org) Received: from sdf.lonestar.org (IDENT:tiberius@sverige.freeshell.org [192.94.73.4]) by sdf.lonestar.org (8.13.1/8.12.10) with ESMTP id j1K0dJP9015195 for ; Sun, 20 Feb 2005 00:39:19 GMT Received: (from tiberius@localhost) by sdf.lonestar.org (8.13.1/8.12.8/Submit) id j1K0dJKu007011 for freebsd-questions@freebsd.org; Sat, 19 Feb 2005 17:39:19 -0700 (MST) Date: Sat, 19 Feb 2005 17:39:19 -0700 From: Matt Rechkemmer To: freebsd-questions@freebsd.org Message-ID: <20050220003919.GA22570@sdf.lonestar.org> References: <20050219120108.F32F516A4DB@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050219120108.F32F516A4DB@hub.freebsd.org> User-Agent: Mutt/1.4.2.1i Subject: Re: freebsd-questions Digest, Vol 88, Issue 68 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 00:40:32 -0000 On Sat, Feb 19, 2005 at 12:01:08PM +0000, freebsd-questions-request@freebsd.org wrote: > > Lately my FreeBSD 5.3R system has been running fine. Tonight I decided to > load the mysql 4.1.x port. After loading it, glancing at mysql-server.sh, and > firing it up, things went haywire. > > At the time I had two root sessions open, as well as two normal users. My > normal users started getting permission denied for everything, new users are > unable to login receiving this via SSHd: > > No supported authentication methods left to try! > > Root cannot query any user information. /etc/passwd and /etc/master.passwd > look fine. MySQL.d is NOT running, it never did startup, and now I am > effectively locked out of the system if I logout. > > It's obviously authenticated since /var/log/auth.log reports: > Feb 19 04:51:17 hybrid sshd[79901]: Accepted keyboard-interactive/pam for > theuser from 172.17.1.11 port 2101 ssh2 > > Any help is GREATLY appreciated, Google has so far yieled nothing on this > topic. > > Thanks! > > Matt Rechkemmer > tiberius@trancell.org A bit more detail: Normal users can no longer login, they receive: No supported authentication methods left to try! I can still login with root and toor. I've tried everything I know of, short of rebooting it. If you guys have any insight, it's greatly appreciated, as I'm at a total loss. With the normal user that is currently logged in (before this occured), here are some examples of the odd behavior: captkirk@hybrid:~$ /bin/ls -bash: /bin/ls: Permission denied root@hybrid:/etc/rc.d# /bin/ls -al /bin/ls -r-xr-xr-x 1 root wheel 22784 Nov 4 19:24 /bin/ls root@hybrid:/etc/rc.d# finger captkirk; grep captkirk /etc/master.passwd finger: captkirk: no such user captkirk::1005:1005:default:0:0:Matt Rechkemmer:/home/captkirk:/bin/tcsh When users get the "No supported authentication methods" error, I do see valid authentications in /var/log/auth.log. So this behavior makes no sense, to me anyways. Any ideas? From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 01:31:03 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3438E16A4CE for ; Sun, 20 Feb 2005 01:31:03 +0000 (GMT) Received: from mail.iinet.net.au (mail-09.iinet.net.au [203.59.3.41]) by mx1.FreeBSD.org (Postfix) with SMTP id A7E2643D55 for ; Sun, 20 Feb 2005 01:31:01 +0000 (GMT) (envelope-from forums@jefferyfernandez.id.au) Received: (qmail 3652 invoked from network); 20 Feb 2005 01:30:47 -0000 Received: from unknown (HELO ?10.1.1.66?) (203.173.46.98) by mail.iinet.net.au with SMTP; 20 Feb 2005 01:30:47 -0000 Message-ID: <4217E846.9090604@jefferyfernandez.id.au> Date: Sun, 20 Feb 2005 12:30:46 +1100 From: Jeffery Fernandez User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Creating CA with CA.pl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 01:31:03 -0000 Hi all, I am following a tutorial on creating a CA on my FreeBSD 5.3 development box. The tutorial can be found at http://www.freebsddiary.org/openssl-client-authentication.php I had a problem on signing the certificate as explained in this forum thread: http://www.freebsddiary.org/phorum/read.php?f=1&i=9702&t=9694 But now I have traced back the problem to the fourth step of that article. So when I execute perl CA.pl -newca I get to enter the details of the certificate.. but when I completed entering the details for Email Address []:me@mydomain.com I get the following output: unknown option -next_serial usage: x509 args -inform arg - input format - default PEM (one of DER, NET or PEM) -outform arg - output format - default PEM (one of DER, NET or PEM) -keyform arg - private key format - default PEM -CAform arg - CA format - default PEM -CAkeyform arg - CA key format - default PEM -in arg - input file - default stdin -out arg - output file - default stdout -passin arg - private key password source -serial - print serial number value -hash - print hash value -subject - print subject DN -issuer - print issuer DN -email - print email address(es) -startdate - notBefore field -enddate - notAfter field -purpose - print out certificate purposes -dates - both Before and After dates -modulus - print the RSA key modulus -pubkey - output the public key -fingerprint - print the certificate fingerprint -alias - output certificate alias -noout - no certificate output -ocspid - print OCSP hash values for the subject name and public key -trustout - output a "trusted" certificate -clrtrust - clear all trusted purposes -clrreject - clear all rejected purposes -addtrust arg - trust certificate for a given purpose -addreject arg - reject certificate for a given purpose -setalias arg - set certificate alias -days arg - How long till expiry of a signed certificate - def 30 days -checkend arg - check whether the cert expires in the next arg seconds exit 1 if so, 0 if not -signkey arg - self sign cert with arg -x509toreq - output a certification request object -req - input is a certificate request, sign and output. -CA arg - set the CA certificate, must be PEM format. -CAkey arg - set the CA key, must be PEM format missing, it is assumed to be in the CA file. -CAcreateserial - create serial number file if it does not exist -CAserial arg - serial file -set_serial - serial number to use -text - print the certificate in text form -C - print out C code forms -md2/-md5/-sha1/-mdc2 - digest to use -extfile - configuration file with X509V3 extensions to add -extensions - section from config file with X509V3 extensions to add -clrext - delete extensions before signing and input certificate -nameopt arg - various certificate name options -engine e - use engine e, possibly a hardware device. -certopt arg - various certificate text options I have googled for the "unknown option -next_serial" string with no results. I also opened CA.pl and found "-next_serial" to be present on line 108. Anyone have a clue why its failing on that line of code ? I beleive the signing of the certificate is not working properly because of this. Appreciate your help. cheers, Jeffery From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 01:43:02 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83FD916A4CE for ; Sun, 20 Feb 2005 01:43:02 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id B246343D45 for ; Sun, 20 Feb 2005 01:43:01 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j1K1h0Xq006334 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 19 Feb 2005 17:43:01 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j1K1gxS0006332; Sat, 19 Feb 2005 17:42:59 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Sat, 19 Feb 2005 17:42:59 -0800 From: "Loren M. Lang" To: Bill Moran Message-ID: <20050220014259.GA4471@alzatex.com> References: <20050217165733.28e0c57e.wmoran@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050217165733.28e0c57e.wmoran@potentialtech.com> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: freebsd-questions@freebsd.org Subject: Re: What is the status of gvinum in FreeBSD 5.3? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 01:43:02 -0000 On Thu, Feb 17, 2005 at 04:57:33PM -0500, Bill Moran wrote: > > I was wondering about the status of gvinum in 5.3. > > I seem to remember that there were a lot of problems with gvinum in 5.3, > but searching around, I can't seem to find anything that says for sure > one way or the other. > > I'm just trying to seperate the FUD from the reality. Is there anywhere > that has the status? Anyone using gvinum that can say how reliable it > is or isn't? > > I understand that there are GEOM classes available that have some of > the functionality of vinum that I could use instead, but there are > two reasons that these aren't an option for me. > 1) I'm wanting to migrate 4.X machines with existing vinum volumes to > 5, and I'd rather not dump/restore. FreeBSD 5.x also has the original vinum implementation plus gvinum so it should be possible to use that instead of needing to dump/restore. Though I think that there are a couple of limitations like no swap on the original vinum do to the addition of GEOM. > 2) There is at least one feature that vinum has that I don't see in > any GEOM class, that I'm using. That is the ability to add subdisks > and use growfs to enlarge filesystems without having to dump/restore. I think that either geom_ccd or geom_concat will allow you to concat more drives in and then use growfs to expand the fs. > > -- > Bill Moran > Potential Technologies > http://www.potentialtech.com -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 02:18:32 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7773916A4CE for ; Sun, 20 Feb 2005 02:18:32 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD05A43D2D for ; Sun, 20 Feb 2005 02:18:31 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j1K2IUXq006755 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 19 Feb 2005 18:18:31 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j1K2IT28006753; Sat, 19 Feb 2005 18:18:29 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Sat, 19 Feb 2005 18:18:29 -0800 From: "Loren M. Lang" To: Timothy Smith Message-ID: <20050220021829.GB4471@alzatex.com> References: <421695E7.2050407@open-networks.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <421695E7.2050407@open-networks.net> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: freebsd-questions@freebsd.org Subject: Re: ssh key authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 02:18:32 -0000 On Sat, Feb 19, 2005 at 11:27:03AM +1000, Timothy Smith wrote: > i've followed the howto exactly and it still doesn't work. i don't know > wtf i'm doing wrong. here is the output i get in verbose mode > > Password: > > the files i have in the local host > > ls -l /home/timothy/.ssh/ > total 6 > -rw------- 1 timothy wheel 672 Feb 19 11:06 id_dsa > -rw-r--r-- 1 timothy wheel 621 Feb 19 11:06 id_dsa.pub > -rw-r--r-- 1 timothy wheel 614 Feb 19 11:21 known_hosts > > the files i have in the remote host > ls -l > total 4 > -rw-r--r-- 1 timothy wheel 241 Feb 18 22:44 authorised_keys > -rw-r--r-- 1 timothy wheel 621 Feb 19 11:12 authorised_keys2 It looks like you copied id_dsa.pub to authorized_keys2. On recent versions of ssh, all public authorized keys are stored in authorized_keys. Do: cat authorized_keys2 >> authorized_keys && rm authorized_keys2 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 02:24:04 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F99F16A4CE for ; Sun, 20 Feb 2005 02:24:04 +0000 (GMT) Received: from web51710.mail.yahoo.com (web51710.mail.yahoo.com [206.190.38.228]) by mx1.FreeBSD.org (Postfix) with SMTP id 866E343D2D for ; Sun, 20 Feb 2005 02:24:03 +0000 (GMT) (envelope-from poni1111@yahoo.com) Received: (qmail 72600 invoked by uid 60001); 20 Feb 2005 02:24:03 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=HcUGmVTCQ3X1tei+eXAlFhld1q4Qf/dLWja6na+ax66mA1WL6OsaYdGM3M6GLK9r54bqYV6uIqpL8s5YCZTQK+1q2jvSxLdrQhT9jwBBdZcQDCzThntXU32SdwU2z4LUk9itfu57gosOVPumi4q0smTy5WGQXXXYmeksUJ6iB+k= ; Message-ID: <20050220022403.72598.qmail@web51710.mail.yahoo.com> Received: from [82.76.162.207] by web51710.mail.yahoo.com via HTTP; Sat, 19 Feb 2005 18:24:02 PST Date: Sat, 19 Feb 2005 18:24:02 -0800 (PST) From: Andrei Iarus To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: PHP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 02:24:04 -0000 I have installed apache-1.3.33_1, php5-5.0.3_1. And I tried to run simple scripts like: PHP Test Hello World

'; ?> and the output was an unexpected one: Hello World '; ?> It also doesn`t outputs anything when using the phpversion() function. A possible bug? Before reporting this as a bug, I wanted to check if there was someone else with similar problems(or may be I did something wrong). __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 02:35:39 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6207216A4CE for ; Sun, 20 Feb 2005 02:35:39 +0000 (GMT) Received: from ix.networx.com.sg (ix.networx.com.sg [202.172.254.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 432C943D41 for ; Sun, 20 Feb 2005 02:35:38 +0000 (GMT) (envelope-from spades@galaxynet.org) Received: from astral ([150.101.180.253]) by ix.networx.com.sg (8.12.11/8.11.3) with SMTP id j1K2dXeg059322; Sun, 20 Feb 2005 10:39:38 +0800 (SGT) (envelope-from spades@galaxynet.org) Message-ID: <008201c516f4$d9e78ff0$0a01a8c0@astral> From: "Spades" To: "Chad Leigh -- Shire.Net LLC" , "Sandy Rutherford" References: <421467C0.9060801@ant.uni-bremen.de><42159B2C.3000000@ant.uni-bremen.de> <200502181015.44103.karelj@kayjay.nl><00b301c5164e$ae86b0d0$162dc2cb@astral><5895876136a642eb60e73d6ebe87729c@shire.net><16918.60595.297759.953364@szamoca.krvarr.bc.ca> <6463233752496ef9dc7301fd33c035c9@shire.net> Date: Sun, 20 Feb 2005 11:39:10 +1000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 cc: freebsd-questions@freebsd.org Subject: Re: raid1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Spades List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 02:35:39 -0000 How do we check if FreeBSD recorgnises it as individual drives or Hardware RAID array. ----- Original Message ----- From: "Chad Leigh -- Shire.Net LLC" To: "Sandy Rutherford" Cc: ; "Spades" Sent: Saturday, February 19, 2005 5:46 PM Subject: Re: raid1 On Feb 19, 2005, at 12:37 AM, Sandy Rutherford wrote: >>>>>> On Fri, 18 Feb 2005 23:51:53 -0700, >>>>>> "Chad Leigh -- Shire.Net LLC" said: > >> On Feb 18, 2005, at 11:39 PM, Spades wrote: > >>> hi, my server hardware supports hardware raid, i installed it >>> as per normal freebsd 5.3, however i see no difference >>> in df. its using 2 x 160GB, what do i do during the installation >>> to enable the raid? >>> >>> mobo: >>> http://www.supermicro.com/products/motherboard/Xeon800/E7320/X6DVL- >>> EG.cfm >>> >>> -bash-2.05b$ df >>> Filesystem 1K-blocks Used Avail Capacity Mounted on >>> /dev/ad4s1a 66008394 35424 60692300 0% / >>> devfs 1 1 0 100% /dev >>> ... > >> What do you expect to see? > >> A raid1 is a mirror set and to the OS would probably look like a single >> drive if it truly is a HW raid > > This should be true of any hardware RAID level, not just RAID1. The > HW RAID presents logical drives to the OS, which look like real drives > to it. The caveat is that the RAID driver will appear as the disk > type. I don't have any experience with SATA RAID, but on my server, > which has a Mylex ExtremeRAID 1100 SCSI RAID card, a df gives: > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/mlxd0s1a ... > /dev/mlxd0s1d ... > /dev/mlxd0s1h ... > /dev/mlxd0s1e ... > /dev/mlxd0s1f ... > /dev/mlxd0s1g ... > /dev/mlxd1s1e ... > /dev/mlxd1s1f ... > /dev/mlxd1s1g ... > /dev/mlxd2s1e ... > > mlx(4) is the driver for this card. The underlying hard drive > structure doesn't look anything like the above, but this is irrelevant > to the OS. > > Regarding your situation, I believe that your MB uses an Adaptec SATA > controller. You should find out exactly what the controller is and if > it is supported in "Hardware Notes". I would expect that if your > controller is supported and found, then "ad" should be replaced by the > relevant driver. Also, have a look at the dmesg output. There should > be some sign that the OS is recognizing your RAID controller. > According to the MB specs at the URL given by the OP, the SATA is an Intel 6300ESB (part of a more general IO chip) " • 6300ESB (Hance Rapids) SATA Controller (2x Drive support) • 2x SATA Ports • RAID 0, 1, JBOD support" I don't see any specific mention of this in any of the HW notes for 5.3. I would be interested to see the dmesg output at boot time to see what the system sees for devices and controllers. If it is an ATA raid (pseudo HW RAID) then it would show as arX devices and not adX according to the handbook. Chad _______________________________________________ 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 Feb 20 02:41:18 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22F7616A4CE for ; Sun, 20 Feb 2005 02:41:18 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB56443D39 for ; Sun, 20 Feb 2005 02:41:17 +0000 (GMT) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (rwcrmhc13) with ESMTP id <2005022002411701500kuh0ce>; Sun, 20 Feb 2005 02:41:17 +0000 Received: from [192.168.0.16] (gladiator.trini0.org [192.168.0.16]) by hivemind.trini0.org (Postfix) with ESMTP id 118E16125 for ; Sat, 19 Feb 2005 21:41:17 -0500 (EST) Message-ID: <4217F8CF.5030508@trini0.org> Date: Sat, 19 Feb 2005 21:41:19 -0500 From: Gerard Samuel User-Agent: Mozilla Thunderbird 1.0 (X11/20050122) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Reconfiguring my network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 02:41:18 -0000 I currently own my own domain name, and run a dns server that services only the lan (i.e. It just forwards requests to my ISP's dns server, and resolves computers on the lan). Other services, (i.e. www/mail/cvs/etc) are port forwarded through the firewall. The setup is ok, but I have it in my mind, that I can *grow* the setup beyond what it is currently (its been this way for the past 4-5 years, and Im looking to see if it can change). Today, I've been trying to see if it was possible to get the dns server/lan, more accessible to the internet, so that I can do away with port forwarding (maybe not completely). Where other dns servers can query my dns server, so that the lan is more accessible (maybe not the right word), with some voodoo to get around a *real* single ip, and internal virtual ip addresss. Is it even possible with a setup like mine (psuedo diagram below)? If so, can you give a synopsis on what to do, and or any resources on the net that can guide me? Thanks for your time. INTERNET | | FIREWALL (FreeBSD running DNS/DHCP/IPF/IPNAT) | | SWITCH | | LAN (Various servers & workstations) From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 02:44:25 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 797F016A4CE for ; Sun, 20 Feb 2005 02:44:25 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49B5A43D53 for ; Sun, 20 Feb 2005 02:44:25 +0000 (GMT) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (rwcrmhc13) with ESMTP id <2005022002442501500l3cj5e>; Sun, 20 Feb 2005 02:44:25 +0000 Received: from [192.168.0.16] (gladiator.trini0.org [192.168.0.16]) by hivemind.trini0.org (Postfix) with ESMTP id A3B8A6125; Sat, 19 Feb 2005 21:44:24 -0500 (EST) Message-ID: <4217F98B.7070605@trini0.org> Date: Sat, 19 Feb 2005 21:44:27 -0500 From: Gerard Samuel User-Agent: Mozilla Thunderbird 1.0 (X11/20050122) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrei Iarus References: <20050220022403.72598.qmail@web51710.mail.yahoo.com> In-Reply-To: <20050220022403.72598.qmail@web51710.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: PHP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 02:44:25 -0000 Andrei Iarus wrote: >I have installed apache-1.3.33_1, php5-5.0.3_1. And I >tried to run simple scripts like: > > > PHP Test > > > Hello World

'; ?> > > >and the output was an unexpected one: > > Hello World > >'; ?> >It also doesn`t outputs anything when using the >phpversion() function. A possible bug? Before >reporting this as a bug, I wanted to check if there >was someone else with similar problems(or may be I did >something wrong). > First guess. Apache doesn't know about And see what it does... From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 03:04:28 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75ACE16A4CE for ; Sun, 20 Feb 2005 03:04:28 +0000 (GMT) Received: from mail.iinet.net.au (mail-09.iinet.net.au [203.59.3.41]) by mx1.FreeBSD.org (Postfix) with SMTP id 46EB943D2F for ; Sun, 20 Feb 2005 03:04:27 +0000 (GMT) (envelope-from forums@jefferyfernandez.id.au) Received: (qmail 8665 invoked from network); 20 Feb 2005 03:04:26 -0000 Received: from unknown (HELO ?10.1.1.66?) (203.173.46.98) by mail.iinet.net.au with SMTP; 20 Feb 2005 03:04:25 -0000 Message-ID: <4217FE39.4030206@jefferyfernandez.id.au> Date: Sun, 20 Feb 2005 14:04:25 +1100 From: Jeffery Fernandez User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gerard Samuel References: <20050220022403.72598.qmail@web51710.mail.yahoo.com> <4217F98B.7070605@trini0.org> In-Reply-To: <4217F98B.7070605@trini0.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: PHP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 03:04:28 -0000 Gerard Samuel wrote: > Andrei Iarus wrote: > >> I have installed apache-1.3.33_1, php5-5.0.3_1. And I >> tried to run simple scripts like: >> >> PHP Test >> >> >> Hello World

'; ?> >> >> >> and the output was an unexpected one: >> Hello World >> >> '; ?> >> It also doesn`t outputs anything when using the >> phpversion() function. A possible bug? Before >> reporting this as a bug, I wanted to check if there >> was someone else with similar problems(or may be I did >> something wrong). > > > First guess. Apache doesn't know about If you installed php via the port, apache is configured automatically. > So I have to ask. Did you restart apache?? > Just create a file (index.php), and in it put > > > And see what it does... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > You will have to add the following entries to the httpd.conf file for apache to understand its a php file AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps I don't know if its any different for PHP5 but for PHP4 thats what you need to add. cheers, Jeffery From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 03:18:51 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06A0E16A4CE for ; Sun, 20 Feb 2005 03:18:51 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86C6043D45 for ; Sun, 20 Feb 2005 03:18:50 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Sat, 19 Feb 2005 21:18:51 -0600 Message-ID: <42180198.2030702@daleco.biz> Date: Sat, 19 Feb 2005 21:18:48 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrei Iarus References: <20050220022403.72598.qmail@web51710.mail.yahoo.com> In-Reply-To: <20050220022403.72598.qmail@web51710.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Feb 2005 03:18:52.0485 (UTC) FILETIME=[E71AB750:01C516FA] cc: questions@freebsd.org Subject: Re: PHP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 03:18:51 -0000 Andrei Iarus wrote: >I have installed apache-1.3.33_1, php5-5.0.3_1. And I >tried to run simple scripts like: > > > PHP Test > > > Hello World

'; ?> > > >and the output was an unexpected one: > > Hello World > >'; ?> >It also doesn`t outputs anything when using the >phpversion() function. A possible bug? Before >reporting this as a bug, I wanted to check if there >was someone else with similar problems(or may be I did >something wrong). > > Simple configuration needed. Note that this is PHP4. ***These are my comments*** (be sure not to put _them_ into your httpd.conf). ----------------------------------------------------------------------------------------------------------- #grep -A 2 php /usr/local/etc/apache/httpd.conf LoadModule php4_module /usr/local/libexec/apache/libphp4.so ***this is necessary.*** AddModule mod_php4.c ***so is this.*** DirectoryIndex index.php index.html ***tells Apache to use "index.php" as the preferred index, if not present, then use "index.html" if it exists*** AddType application/x-httpd-php .php .html .asp .php3 AddType application/x-httpd-php-source .phps ***a little overkill, mostly for humor. My development server treats files ending in "php", "html" and "asp" as php files and parses them looking for PHP (mostly as a political statement).*** ----------------------------------------------------------------------------------------------------------------- Basically, you must have 1]LoadModule 2]AddModule and 3]AddType declarations in httpd.conf, then restart Apache and your scripts should work fine. HTH, Kevin Kinsey From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 03:20:59 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B53316A4CE for ; Sun, 20 Feb 2005 03:20:59 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12AD043D48 for ; Sun, 20 Feb 2005 03:20:58 +0000 (GMT) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (sccrmhc13) with ESMTP id <2005022003205201600sdqrfe>; Sun, 20 Feb 2005 03:20:56 +0000 Received: from [192.168.0.16] (gladiator.trini0.org [192.168.0.16]) by hivemind.trini0.org (Postfix) with ESMTP id 44B6960D3; Sat, 19 Feb 2005 22:20:52 -0500 (EST) Message-ID: <42180216.1020109@trini0.org> Date: Sat, 19 Feb 2005 22:20:54 -0500 From: Gerard Samuel User-Agent: Mozilla Thunderbird 1.0 (X11/20050122) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeffery Fernandez References: <20050220022403.72598.qmail@web51710.mail.yahoo.com> <4217F98B.7070605@trini0.org> <4217FE39.4030206@jefferyfernandez.id.au> In-Reply-To: <4217FE39.4030206@jefferyfernandez.id.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: PHP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 03:20:59 -0000 Jeffery Fernandez wrote: > Gerard Samuel wrote: > >> Andrei Iarus wrote: >> >>> I have installed apache-1.3.33_1, php5-5.0.3_1. And I >>> tried to run simple scripts like: >>> >>> PHP Test >>> >>> >>> Hello World

'; ?> >>> >>> >>> and the output was an unexpected one: >>> Hello World >>> >>> '; ?> >>> It also doesn`t outputs anything when using the >>> phpversion() function. A possible bug? Before >>> reporting this as a bug, I wanted to check if there >>> was someone else with similar problems(or may be I did >>> something wrong). >> >> >> >> First guess. Apache doesn't know about > If you installed php via the port, apache is configured automatically. >> So I have to ask. Did you restart apache?? >> Just create a file (index.php), and in it put >> >> >> And see what it does... >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > You will have to add the following entries to the httpd.conf file for > apache to understand its a php file > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > I don't know if its any different for PHP5 but for PHP4 thats what you > need to add. Forgot about that. AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps is what I have (php 5.0.2), so I guess you are correct.. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 03:24:39 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DBB016A4CE for ; Sun, 20 Feb 2005 03:24:39 +0000 (GMT) Received: from frontend2.cwpanama.net (frontend2.cwpanama.net [201.225.225.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57F3C43D46 for ; Sun, 20 Feb 2005 03:24:38 +0000 (GMT) (envelope-from eballis@cwpanama.net) Received: from [201.226.44.2] (HELO ballis) by frontend2.cwpanama.net (CommuniGate Pro SMTP 4.2.1) with ESMTP id 35785714 for freebsd-questions@freebsd.org; Sat, 19 Feb 2005 22:23:57 -0500 From: "Euripides Ballis" To: Date: Sat, 19 Feb 2005 22:24:38 -0500 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcUW+7T0DRF7//m7TiOxiI+9A7V1Xg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Enlightenment desktop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 03:24:39 -0000 People I a new user. Exist a forum for me or if this can help me: I dont know how i can load or install enlightenemet in freebsd 5.3 From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 03:29:23 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E452516A4CE for ; Sun, 20 Feb 2005 03:29:23 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4855443D55 for ; Sun, 20 Feb 2005 03:29:23 +0000 (GMT) (envelope-from dawgeestyle@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so113790rng for ; Sat, 19 Feb 2005 19:29:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=uRCTvCtGyCNgaZQLr42djKDBaXLb/hmyGoeOx89lHaLxGGK2QwQklhz9kK1J3bvchA2l8ttRvz06R+p2BIClpXJ7JCsRO8B5WiT1amYNEf/EpeMiCTpdRFZxjtWA/6AEYV7bRN9mdl9kEKDR4Iphv0M8QYVSulbHyNpdVOHgh9Q= Received: by 10.38.162.2 with SMTP id k2mr74139rne; Sat, 19 Feb 2005 19:29:22 -0800 (PST) Received: by 10.38.73.32 with HTTP; Sat, 19 Feb 2005 19:29:22 -0800 (PST) Message-ID: <5ae9cd5505021919294cd36733@mail.gmail.com> Date: Sat, 19 Feb 2005 22:29:22 -0500 From: Benjamin Dover To: Euripides Ballis In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: cc: FreeBSD Mailing List Subject: Re: Enlightenment desktop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Benjamin Dover List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 03:29:24 -0000 On Sat, 19 Feb 2005 22:24:38 -0500, Euripides Ballis wrote: > People I a new user. Exist a forum for me or if this can help me: I dont > know how i can load or install enlightenemet in freebsd 5.3 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I don't know anything about it but from the following you can see where to find it in ports: w00f# whereis enlightenment enlightenment: /usr/ports/x11-wm/enlightenment make sure you have xorg installed and cd to the above and make install clean From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 04:47:29 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2D4616A4CE for ; Sun, 20 Feb 2005 04:47:29 +0000 (GMT) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6274143D1F for ; Sun, 20 Feb 2005 04:47:29 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.161.222.227] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.43) id 1D2j09-000IWp-NF; Sat, 19 Feb 2005 21:47:27 -0700 In-Reply-To: <008201c516f4$d9e78ff0$0a01a8c0@astral> References: <421467C0.9060801@ant.uni-bremen.de><42159B2C.3000000@ant.uni-bremen.de> <200502181015.44103.karelj@kayjay.nl><00b301c5164e$ae86b0d0$162dc2cb@astral><5895876136a642eb60e73d6ebe87729c@shire.net><16918.60595.297759.953364@szamoca.krvarr.bc.ca> <6463233752496ef9dc7301fd33c035c9@shire.net> <008201c516f4$d9e78ff0$0a01a8c0@astral> Mime-Version: 1.0 (Apple Message framework v619.2) Message-Id: <7aa7839bec01936ea3c064a84ad69178@shire.net> From: Chad Leigh -- Shire.Net LLC Date: Sat, 19 Feb 2005 21:47:24 -0700 To: "Spades" X-Mailer: Apple Mail (2.619.2) X-SA-Exim-Connect-IP: 67.161.222.227 X-SA-Exim-Mail-From: chad@shire.net Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on hobbiton.shire.net X-Spam-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50 autolearn=disabled version=3.0.0 X-Spam-Level: X-SA-Exim-Version: 4.1+cvs (built Mon, 23 Aug 2004 08:44:05 -0700) X-SA-Exim-Scanned: Yes (on hobbiton.shire.net) cc: List Free Bsd Subject: Re: raid1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 04:47:29 -0000 On Feb 19, 2005, at 6:39 PM, Spades wrote: > How do we check if FreeBSD recorgnises it as individual drives or=20 > Hardware RAID array. Your raid chip appears to be a software ATA raid. man ata The raid appears as arN according to man ata look in the dmesg to see what happened at boot -- this will tell you=20= how the controller and drives were found by FreeBSD /var/run/dmesg.boot Chad > > ----- Original Message ----- From: "Chad Leigh -- Shire.Net LLC"=20 > > To: "Sandy Rutherford" > Cc: ; "Spades" > Sent: Saturday, February 19, 2005 5:46 PM > Subject: Re: raid1 > > > > On Feb 19, 2005, at 12:37 AM, Sandy Rutherford wrote: > >>>>>>> On Fri, 18 Feb 2005 23:51:53 -0700, >>>>>>> "Chad Leigh -- Shire.Net LLC" said: >> >>> On Feb 18, 2005, at 11:39 PM, Spades wrote: >> >>>> hi, my server hardware supports hardware raid, i installed it >>>> as per normal freebsd 5.3, however i see no difference >>>> in df. its using 2 x 160GB, what do i do during the installation >>>> to enable the raid? >>>> >>>> mobo: >>>> http://www.supermicro.com/products/motherboard/Xeon800/E7320/X6DVL- >>>> EG.cfm >>>> >>>> -bash-2.05b$ df >>>> Filesystem 1K-blocks Used Avail Capacity Mounted on >>>> /dev/ad4s1a 66008394 35424 60692300 0% / >>>> devfs 1 1 0 100% /dev >>>> ... >> >>> What do you expect to see? >> >>> A raid1 is a mirror set and to the OS would probably look like a=20 >>> single >>> drive if it truly is a HW raid >> >> This should be true of any hardware RAID level, not just RAID1. The >> HW RAID presents logical drives to the OS, which look like real = drives >> to it. The caveat is that the RAID driver will appear as the disk >> type. I don't have any experience with SATA RAID, but on my server, >> which has a Mylex ExtremeRAID 1100 SCSI RAID card, a df gives: >> >> Filesystem 1K-blocks Used Avail Capacity Mounted = on >> /dev/mlxd0s1a ... >> /dev/mlxd0s1d ... >> /dev/mlxd0s1h ... >> /dev/mlxd0s1e ... >> /dev/mlxd0s1f ... >> /dev/mlxd0s1g ... >> /dev/mlxd1s1e ... >> /dev/mlxd1s1f ... >> /dev/mlxd1s1g ... >> /dev/mlxd2s1e ... >> >> mlx(4) is the driver for this card. The underlying hard drive >> structure doesn't look anything like the above, but this is = irrelevant >> to the OS. >> >> Regarding your situation, I believe that your MB uses an Adaptec SATA >> controller. You should find out exactly what the controller is and = if >> it is supported in "Hardware Notes". I would expect that if your >> controller is supported and found, then "ad" should be replaced by = the >> relevant driver. Also, have a look at the dmesg output. There = should >> be some sign that the OS is recognizing your RAID controller. >> > > According to the MB specs at the URL given by the OP, the SATA is an > Intel 6300ESB (part of a more general IO chip) > > " =95 6300ESB (Hance Rapids) SATA Controller (2x Drive support) > =95 2x SATA Ports > =95 RAID 0, 1, JBOD support" > > > I don't see any specific mention of this in any of the HW notes for > 5.3. I would be interested to see the dmesg output at boot time to = see > what the system sees for devices and controllers. If it is an ATA = raid > (pseudo HW RAID) then it would show as arX devices and not adX > according to the handbook. > > Chad > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 07:24:03 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9449B16A4CE for ; Sun, 20 Feb 2005 07:24:03 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9F2C43D45 for ; Sun, 20 Feb 2005 07:24:02 +0000 (GMT) (envelope-from perikillo@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so124004rng for ; Sat, 19 Feb 2005 23:24:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=mNDbW4EbgOa5nU2KsImEvOgLpWgR8alaQjZv/JTde1PvV032K6/jKD1DDVAacN6fT4x2EzCXabberLAC0W9JUocnasls24yT51F7337JWvOSCGE3FNhBr3uqY1Vn+t3mf2ZsAfb9xWXZxnDt9pjauq2rFNpkPrV4pOIJ/FlkkLA= Received: by 10.38.68.14 with SMTP id q14mr524382rna; Sat, 19 Feb 2005 23:24:02 -0800 (PST) Received: by 10.38.98.35 with HTTP; Sat, 19 Feb 2005 23:24:01 -0800 (PST) Message-ID: <51d7a5160502192324f17fb9d@mail.gmail.com> Date: Sat, 19 Feb 2005 23:24:01 -0800 From: perikillo To: freebsd-questions@freebsd.org In-Reply-To: <51d7a5160502180858643e2bdc@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <51d7a5160502171525353f3bfc@mail.gmail.com> <7cbadc87050218033547d9ce8d@mail.gmail.com> <51d7a5160502180858643e2bdc@mail.gmail.com> cc: questions@freebsd.org Subject: Re: How change the FTP_PASSIVE_MODE? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: perikillo List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 07:24:03 -0000 FTP Passive problems fix. After making some test with different advices from this and another list i could fix my problem, the situation was that went i was trying to access ftp.freebsd.org, i cannot use the ls command, them someone say: --Use the IP address of the server you want to access map tun0 192.168.0.1/24 -> 204.152.184.73/32 proxy port ftp ftp/tcp map tun0 192.168.0.1/24 -> 0/32 proxy port ftp ftp/tcp map tun0 192.168.0.1/24 -> 0/32 portmap 20000:60000 map tun0 192.168.0.1/24 -> 0/32 Results: ftp> ls no route to host ---Use the port 20 on ipf.rules some servers works like. pass out quick on tun0 proto tcp from any to any port 21 flags S keep state pass out quick on tun0 proto tcp from any to any port 20 flags S keep state /etc/ipnat.rules the same Results: ftp> ls no route to host --Them after read, change, save, test, with ipnat this two scripts make the job: map tun0 0/0 -> 0/32 proxy port ftp ftp/tcp map tun0 0/0 -> 0/32 portmap 20000:60000 map tun0 0/0 -> 0/32 and map tun0 192.168.0.1/0 -> 0/32 proxy port ftp ftp/tcp map tun0 192.168.0.1/0 -> 0/32 portmap 20000:60000 map tun0 192.168.0.1/0 -> 0/32 Delete the port 20 from /etc/ipf.rules set enviroment var FTP_PASSIVE_MODE no ipf# setenv FTP_PASSIVE_MODE no Result: ftp> ls bla bla bla...................etc bla bla bla...................pub OK, my rules are working, now i need to check wich script is better, i still have the doubt on:-? The machine that was having this problems was my firewall unsing Freebsd 4.11 release, IPFILTER on kernel v3.4.35, sometimes i need to access the freebsd servers to check information and found this problems, but they are resolved ;-). my client win2k is working very well Firefox 1.0 www and ftp ok Explorer 6.0 www and ftp ok cmd ftp ok I only need to read about this two scripts, any information about the differents i will apreciate. Thanks. On Fri, 18 Feb 2005 08:58:46 -0800, perikillo wrote: > On Fri, 18 Feb 2005 13:35:28 +0200, Nelis Lamprecht > wrote: > > On Thu, 17 Feb 2005 15:25:13 -0800, perikillo wrote: > > > Hi, i have been around reading docs about the problem we have a lot > > > of people went we try to access one ftp server on the Internet, > > > normally the (Passive servers), in the past i was using rules on > > > IPFILTER(freebsd 4.10 p5, think is the 3.4.31?? the one it cames > > > with), my rule was: > > > > > > To block all that arrives to my tun0(IN), and let out all the > > > packets of my internal cients over tun0 and keep state. it was easy, > > > only let my users go to outside world. My ipnat it was simply, only: > > > > > > map tun0 198.168.1.0/24 -> 0/32 > > > > > > With this all my clients(win2k, win98, Freebsd, win XP) where happy > > > and secure. > > > > > > Them i decide to change my rules be more define, i read the > > > handbook, and start making changes: > > > > > > Block in all over my tun0 and let out any package over my tun0 only to: > > > port 21, 53, 80, 443, 5999, all the handbook say, services that i know > > > that normally went someone surf the web he is going to connect to > > > those services. > > > > > > I change my nat: > > > > > > map tun0 198.168.1.0//24 -> proxy port 21 ftp/tcp > > > map tun0 192.168.1.0/24 -> 0/32 portmap tcp/udp 20000:60000 > > > map tun0 192.168.1.0/24 -> 0/32 > > > > > > Is ok, i can surf the web, but went i went to the freebsd server, > > > what happend: > > > > > > ftp: ls > > > entering passive mode(bla, bla, bla) > > > ftp: connect no route to host > > > > > > > hi, > > > > to solve your problem or you should need to do is add another rule for > > the actual freebsd server: > > > > map tun0 198.168.1.1/32 -> 198.168.1.1/32 proxy port ftp ftp/tcp > > > > the above rule assumes 198.168.1.1 is your freebsd server. this rule > > should be placed first. you should also have a rule to pass out > > traffic, something along the lines of: > > > > pass out quick on tun0 proto tcp from 198.168.1.0/24 to any port = 21 > > flags S keep state > > > > that should do the trick. > > > > cheers, > > nelis > > > From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 07:24:03 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96C5216A4CF for ; Sun, 20 Feb 2005 07:24:03 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9DC343D41 for ; Sun, 20 Feb 2005 07:24:02 +0000 (GMT) (envelope-from perikillo@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so124005rng for ; Sat, 19 Feb 2005 23:24:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=mNDbW4EbgOa5nU2KsImEvOgLpWgR8alaQjZv/JTde1PvV032K6/jKD1DDVAacN6fT4x2EzCXabberLAC0W9JUocnasls24yT51F7337JWvOSCGE3FNhBr3uqY1Vn+t3mf2ZsAfb9xWXZxnDt9pjauq2rFNpkPrV4pOIJ/FlkkLA= Received: by 10.38.68.14 with SMTP id q14mr524382rna; Sat, 19 Feb 2005 23:24:02 -0800 (PST) Received: by 10.38.98.35 with HTTP; Sat, 19 Feb 2005 23:24:01 -0800 (PST) Message-ID: <51d7a5160502192324f17fb9d@mail.gmail.com> Date: Sat, 19 Feb 2005 23:24:01 -0800 From: perikillo To: freebsd-questions@freebsd.org In-Reply-To: <51d7a5160502180858643e2bdc@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <51d7a5160502171525353f3bfc@mail.gmail.com> <7cbadc87050218033547d9ce8d@mail.gmail.com> <51d7a5160502180858643e2bdc@mail.gmail.com> cc: questions@freebsd.org Subject: Re: How change the FTP_PASSIVE_MODE? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: perikillo List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 07:24:03 -0000 FTP Passive problems fix. After making some test with different advices from this and another list i could fix my problem, the situation was that went i was trying to access ftp.freebsd.org, i cannot use the ls command, them someone say: --Use the IP address of the server you want to access map tun0 192.168.0.1/24 -> 204.152.184.73/32 proxy port ftp ftp/tcp map tun0 192.168.0.1/24 -> 0/32 proxy port ftp ftp/tcp map tun0 192.168.0.1/24 -> 0/32 portmap 20000:60000 map tun0 192.168.0.1/24 -> 0/32 Results: ftp> ls no route to host ---Use the port 20 on ipf.rules some servers works like. pass out quick on tun0 proto tcp from any to any port 21 flags S keep state pass out quick on tun0 proto tcp from any to any port 20 flags S keep state /etc/ipnat.rules the same Results: ftp> ls no route to host --Them after read, change, save, test, with ipnat this two scripts make the job: map tun0 0/0 -> 0/32 proxy port ftp ftp/tcp map tun0 0/0 -> 0/32 portmap 20000:60000 map tun0 0/0 -> 0/32 and map tun0 192.168.0.1/0 -> 0/32 proxy port ftp ftp/tcp map tun0 192.168.0.1/0 -> 0/32 portmap 20000:60000 map tun0 192.168.0.1/0 -> 0/32 Delete the port 20 from /etc/ipf.rules set enviroment var FTP_PASSIVE_MODE no ipf# setenv FTP_PASSIVE_MODE no Result: ftp> ls bla bla bla...................etc bla bla bla...................pub OK, my rules are working, now i need to check wich script is better, i still have the doubt on:-? The machine that was having this problems was my firewall unsing Freebsd 4.11 release, IPFILTER on kernel v3.4.35, sometimes i need to access the freebsd servers to check information and found this problems, but they are resolved ;-). my client win2k is working very well Firefox 1.0 www and ftp ok Explorer 6.0 www and ftp ok cmd ftp ok I only need to read about this two scripts, any information about the differents i will apreciate. Thanks. On Fri, 18 Feb 2005 08:58:46 -0800, perikillo wrote: > On Fri, 18 Feb 2005 13:35:28 +0200, Nelis Lamprecht > wrote: > > On Thu, 17 Feb 2005 15:25:13 -0800, perikillo wrote: > > > Hi, i have been around reading docs about the problem we have a lot > > > of people went we try to access one ftp server on the Internet, > > > normally the (Passive servers), in the past i was using rules on > > > IPFILTER(freebsd 4.10 p5, think is the 3.4.31?? the one it cames > > > with), my rule was: > > > > > > To block all that arrives to my tun0(IN), and let out all the > > > packets of my internal cients over tun0 and keep state. it was easy, > > > only let my users go to outside world. My ipnat it was simply, only: > > > > > > map tun0 198.168.1.0/24 -> 0/32 > > > > > > With this all my clients(win2k, win98, Freebsd, win XP) where happy > > > and secure. > > > > > > Them i decide to change my rules be more define, i read the > > > handbook, and start making changes: > > > > > > Block in all over my tun0 and let out any package over my tun0 only to: > > > port 21, 53, 80, 443, 5999, all the handbook say, services that i know > > > that normally went someone surf the web he is going to connect to > > > those services. > > > > > > I change my nat: > > > > > > map tun0 198.168.1.0//24 -> proxy port 21 ftp/tcp > > > map tun0 192.168.1.0/24 -> 0/32 portmap tcp/udp 20000:60000 > > > map tun0 192.168.1.0/24 -> 0/32 > > > > > > Is ok, i can surf the web, but went i went to the freebsd server, > > > what happend: > > > > > > ftp: ls > > > entering passive mode(bla, bla, bla) > > > ftp: connect no route to host > > > > > > > hi, > > > > to solve your problem or you should need to do is add another rule for > > the actual freebsd server: > > > > map tun0 198.168.1.1/32 -> 198.168.1.1/32 proxy port ftp ftp/tcp > > > > the above rule assumes 198.168.1.1 is your freebsd server. this rule > > should be placed first. you should also have a rule to pass out > > traffic, something along the lines of: > > > > pass out quick on tun0 proto tcp from 198.168.1.0/24 to any port = 21 > > flags S keep state > > > > that should do the trick. > > > > cheers, > > nelis > > > From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 07:40:14 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3254116A4CE for ; Sun, 20 Feb 2005 07:40:14 +0000 (GMT) Received: from stewie.obfuscated.net (stewie.obfuscated.net [66.118.188.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AB1643D3F for ; Sun, 20 Feb 2005 07:40:13 +0000 (GMT) (envelope-from m@obmail.net) Received: from [192.168.1.100] (653259hfc120.tampabay.res.rr.com [65.32.59.120]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by stewie.obfuscated.net (Postfix) with ESMTP id 15C3460D1 for ; Sun, 20 Feb 2005 02:40:13 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v619.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: FreeBSD Mailing List From: Michael Conlen Date: Sun, 20 Feb 2005 02:40:11 -0500 X-Mailer: Apple Mail (2.619.2) Subject: growfs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 07:40:14 -0000 On FreeBSD 5.3 I added disks to a disk array. The array contained two 250 GB disks stripped (actually four mirrored and striped but it's all done in hardware). I added two more pairs to the virtual disk, rebooted the machine, rewrote the disklabel for the additional capacity and ran growfs. It would grow the filesystem to almost the end and reported growfs: rdfs: seek error: : unknown error: 0 I ran growfs with progressively smaller -s options, but the same thing happens when it gets near the end of the new size of the file system. fdisk reports the new size for the disk in sectors on partition 1 and the cylinders, heads and sectors/track appear proper. the only odd thing I notice is that nfs2# fdisk -s /dev/da1s1 /dev/da1s1: 121341 cyl 255 hd 63 sec Part Start Size Type Flags 4: 0 50000 0xa5 0x80 nfs2# fdisk -s /dev/da1 /dev/da1: 121342 cyl 255 hd 63 sec Part Start Size Type Flags 1: 63 1949359167 0xa5 0x80 notice da1s1 lists part 4 as size 50000 (25 MB). da1 lists the propersize. disklabel looks right for da1s1 nfs2# disklabel -r /dev/da1s1 # /dev/da1s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 1949359167 0 unused 0 0 # "raw" part, don't edit d: 1949359167 0 4.2BSD 2048 16384 28552 Now, I had gone through this process when upgrading from one pair to two without a problem. I'm not sure where to start looking for issues and am looking for a pointer of where to start looking or a better idea of what info I need to debug this. Does anyone see something completely out of whack? From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 07:41:31 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5BB016A4CE for ; Sun, 20 Feb 2005 07:41:31 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65B9E43D48 for ; Sun, 20 Feb 2005 07:41:31 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so124710rng for ; Sat, 19 Feb 2005 23:41:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=pDLAea3PSAtd4KtyBdcZ5UPxo5WcfNbZESPbp7howeHuR2AH/ePLdx3FdI/nPUudEqbB7tVIMfnvwPhJLVAJ9XXjwyWyRkbdSTaMutO9TaZrUv3ulPEFWuN9koIo51Y0j2rjZM1j/0/CHA23jlgXtTPahtSr8eVQErl50Vi5MOs= Received: by 10.38.152.42 with SMTP id z42mr190097rnd; Sat, 19 Feb 2005 23:41:30 -0800 (PST) Received: by 10.38.74.23 with HTTP; Sat, 19 Feb 2005 23:41:30 -0800 (PST) Message-ID: Date: Sun, 20 Feb 2005 08:41:30 +0100 From: Gert Cuykens To: freebsd-questions@freebsd.org In-Reply-To: <675354920.20050220001731@wanadoo.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <5b8472dd5925a0b0b59f15cd9f8e15f3@shire.net> <675354920.20050220001731@wanadoo.fr> Subject: Re: c++ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gert Cuykens List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 07:41:31 -0000 On Sun, 20 Feb 2005 00:17:31 +0100, Anthony Atkielski wrote: > > A=*data > > The contents of the memory location pointed to by data is copied to A. > > > A=data > > The value of data is copied to A. > > > A=&data > > The address in memory of data is copied to A. > > -- > Anthony > So if data is declared as a gchar *data; for example, then the value of data is a memory adress right ? So if A=data; and B=&data; then A and B are exactly the same result right ? Now why would anybody want a gchar when a integer is needed ? That is just making it more complicated then it already is? From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 07:59:27 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B75F16A4CE for ; Sun, 20 Feb 2005 07:59:27 +0000 (GMT) Received: from stewie.obfuscated.net (stewie.obfuscated.net [66.118.188.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCE7D43D3F for ; Sun, 20 Feb 2005 07:59:26 +0000 (GMT) (envelope-from m@obmail.net) Received: from [192.168.1.100] (653259hfc120.tampabay.res.rr.com [65.32.59.120]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by stewie.obfuscated.net (Postfix) with ESMTP id 2E3D060D1; Sun, 20 Feb 2005 02:59:26 -0500 (EST) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <084dc319497f1f951e5483e31e22e078@obmail.net> Content-Transfer-Encoding: 7bit From: Michael Conlen Date: Sun, 20 Feb 2005 02:59:23 -0500 To: Michael Conlen X-Mailer: Apple Mail (2.619.2) cc: FreeBSD Mailing List Subject: Re: growfs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 07:59:27 -0000 Sorry for the double post but I found a copy of the actual error... growfs: rdfs: seek error: 237231962044550260: Unknown error: 0 On Feb 20, 2005, at 2:40 AM, Michael Conlen wrote: > On FreeBSD 5.3 I added disks to a disk array. The array contained two > 250 GB disks stripped (actually four mirrored and striped but it's all > done in hardware). I added two more pairs to the virtual disk, > rebooted the machine, rewrote the disklabel for the additional > capacity and ran growfs. It would grow the filesystem to almost the > end and reported growfs: rdfs: seek error: 18 digits long>: unknown error: 0 > > I ran growfs with progressively smaller -s options, but the same thing > happens when it gets near the end of the new size of the file system. > > fdisk reports the new size for the disk in sectors on partition 1 and > the cylinders, heads and sectors/track appear proper. > > the only odd thing I notice is that > > nfs2# fdisk -s /dev/da1s1 > /dev/da1s1: 121341 cyl 255 hd 63 sec > Part Start Size Type Flags > 4: 0 50000 0xa5 0x80 > nfs2# fdisk -s /dev/da1 > /dev/da1: 121342 cyl 255 hd 63 sec > Part Start Size Type Flags > 1: 63 1949359167 0xa5 0x80 > > > notice da1s1 lists part 4 as size 50000 (25 MB). da1 lists the > propersize. > > disklabel looks right for da1s1 > > nfs2# disklabel -r /dev/da1s1 > # /dev/da1s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 1949359167 0 unused 0 0 # "raw" > part, don't edit > d: 1949359167 0 4.2BSD 2048 16384 28552 > > > Now, I had gone through this process when upgrading from one pair to > two without a problem. I'm not sure where to start looking for issues > and am looking for a pointer of where to start looking or a better > idea of what info I need to debug this. Does anyone see something > completely out of whack? > > _______________________________________________ > 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 Feb 20 08:10:15 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BC5516A4D0; Sun, 20 Feb 2005 08:10:15 +0000 (GMT) Received: from nezlok.unixathome.org (nezlok.unixathome.org [66.154.97.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 758BB43D39; Sun, 20 Feb 2005 08:10:15 +0000 (GMT) (envelope-from dan@nezlok.unixathome.org) Received: from localhost (localhost [127.0.0.1]) by nezlok.unixathome.org (Postfix) with ESMTP id 805D9575E; Sun, 20 Feb 2005 00:10:13 -0800 (PST) Received: from nezlok.unixathome.org ([127.0.0.1]) by localhost (nezlok.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 77417-07; Sun, 20 Feb 2005 00:10:03 -0800 (PST) Received: by nezlok.unixathome.org (Postfix, from userid 1000) id 61A9E5646; Sun, 20 Feb 2005 00:10:03 -0800 (PST) From: Dan Langille To: freebsd-newbies@freebsd.org, freebsd-questions@freebsd.org Message-Id: <20050220081003.61A9E5646@nezlok.unixathome.org> Date: Sun, 20 Feb 2005 00:10:03 -0800 (PST) X-Virus-Scanned: by amavisd-new at unixathome.org Subject: The FreeBSD Diary: 2005-01-30 - 2005-02-19 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 08:10:15 -0000 The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 08:10:26 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7314A16A4CE; Sun, 20 Feb 2005 08:10:26 +0000 (GMT) Received: from bsdnerds.org (pcp0011384308pcs.ebrnsw01.nj.comcast.net [69.248.83.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02FB143D31; Sun, 20 Feb 2005 08:10:26 +0000 (GMT) (envelope-from owner-freebsd-newbies@freebsd.org) Received: by bsdnerds.org (Postfix, from userid 1001) id 2771D6151; Sun, 20 Feb 2005 03:10:31 -0500 (EST) Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by bsdnerds.org (Postfix) with ESMTP id 85BEF60F6 for ; Sun, 20 Feb 2005 03:10:27 -0500 (EST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 2269C562C4; Sun, 20 Feb 2005 08:10:19 +0000 (GMT) (envelope-from owner-freebsd-newbies@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 8E99216A4D5; Sun, 20 Feb 2005 08:10:18 +0000 (GMT) Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BC5516A4D0; Sun, 20 Feb 2005 08:10:15 +0000 (GMT) Received: from nezlok.unixathome.org (nezlok.unixathome.org [66.154.97.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 758BB43D39; Sun, 20 Feb 2005 08:10:15 +0000 (GMT) (envelope-from dan@nezlok.unixathome.org) Received: from localhost (localhost [127.0.0.1]) by nezlok.unixathome.org (Postfix) with ESMTP id 805D9575E; Sun, 20 Feb 2005 00:10:13 -0800 (PST) Received: from nezlok.unixathome.org ([127.0.0.1]) by localhost (nezlok.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 77417-07; Sun, 20 Feb 2005 00:10:03 -0800 (PST) Received: by nezlok.unixathome.org (Postfix, from userid 1000) id 61A9E5646; Sun, 20 Feb 2005 00:10:03 -0800 (PST) From: Dan Langille To: freebsd-newbies@freebsd.org, freebsd-questions@freebsd.org Message-Id: <20050220081003.61A9E5646@nezlok.unixathome.org> Date: Sun, 20 Feb 2005 00:10:03 -0800 (PST) X-Virus-Scanned: by amavisd-new at unixathome.org X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Sender: owner-freebsd-newbies@freebsd.org Errors-To: owner-freebsd-newbies@freebsd.org X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on bsdnerds.org X-Spam-Level: X-Spam-Status: No, hits=0.0 required=4.5 tests=none autolearn=ham version=2.64 Subject: The FreeBSD Diary: 2005-01-30 - 2005-02-19 X-BeenThere: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 08:10:26 -0000 The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference _______________________________________________ freebsd-newbies@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 09:42:00 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B41716A4CE for ; Sun, 20 Feb 2005 09:42:00 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7AB743D2F for ; Sun, 20 Feb 2005 09:41:59 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so130760rng for ; Sun, 20 Feb 2005 01:41:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=HLF8wfuE9HB0H5EGIB0Kj5N9c8MandT/mPodrmVUgNi5C2wOvGvKxOiklrUFgCPEoJ++SsyIezU7CoeVHvTYxQ3vTUAAuxQngyapPT0j3ZkPLTpMhSSJis54dOAjYrYTP29+w9E+hK8VTzDNZU2vsHubv1bG/kf427P9+9aCMDo= Received: by 10.38.67.72 with SMTP id p72mr318728rna; Sun, 20 Feb 2005 01:41:59 -0800 (PST) Received: by 10.38.74.23 with HTTP; Sun, 20 Feb 2005 01:41:59 -0800 (PST) Message-ID: Date: Sun, 20 Feb 2005 10:41:59 +0100 From: Gert Cuykens To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: What do you use to burn things ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gert Cuykens List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 09:42:00 -0000 How do you burn a iso file for example ? From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 09:54:54 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D3AF16A4CE for ; Sun, 20 Feb 2005 09:54:54 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23D0C43D45 for ; Sun, 20 Feb 2005 09:54:54 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so131488rng for ; Sun, 20 Feb 2005 01:54:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=FHU7MIZd2mZYP2hI0FW26XoyG2cmUsLUCC0jc2CjJsZVXY0hQ+6MyByutUomV7MTvWFTx08inKEwAAJ94qSLeJyl/3vjJZHbTKIY/Xdoty/+zpLNocQhfKSvzVdnxNB5al89r66pNPBTBi2pfrRpeXgcBvMVmRMmXoxPy4hjMEM= Received: by 10.38.152.42 with SMTP id z42mr228750rnd; Sun, 20 Feb 2005 01:54:53 -0800 (PST) Received: by 10.38.74.23 with HTTP; Sun, 20 Feb 2005 01:54:53 -0800 (PST) Message-ID: Date: Sun, 20 Feb 2005 10:54:53 +0100 From: Gert Cuykens To: FreeBSD Questions In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: Subject: Re: What do you use to burn things ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gert Cuykens List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 09:54:54 -0000 On Sun, 20 Feb 2005 10:41:59 +0100, Gert Cuykens wrote: > How do you burn a iso file for example ? > What does this mean ? I# burncd -f /dev/acd0 -s max data /root/Desktop/memtest86-3.2.iso fixate next writeable LBA 581 writing from file /root/Desktop/memtest86-3.2.iso size 1794 KB only wrote -1 of 32768 bytes: Input/output error fixating CD, please wait.. burncd: ioctl(CDRIOCFIXATE): Input/output error I# From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 10:08:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AA0616A4CE for ; Sun, 20 Feb 2005 10:08:44 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 094A943D1F for ; Sun, 20 Feb 2005 10:08:44 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so132385rng for ; Sun, 20 Feb 2005 02:08:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=QeDv2YrE93x/7rWAJSZAyfZ1qDEzRXXw95iTOvCPeDc+6Iu8mRaoABuNJ53MKGJBI/ltqHC2FjBm0GloQ24nobCNo0Uen3VvfxyzvQOLWumEnQf+nC47aNcjRfYDmPHaInvmixa6FO5gjKcTMdy0lcLOPXs+1w5rGnVXeNogtW8= Received: by 10.38.67.72 with SMTP id p72mr326048rna; Sun, 20 Feb 2005 02:08:43 -0800 (PST) Received: by 10.38.74.23 with HTTP; Sun, 20 Feb 2005 02:08:43 -0800 (PST) Message-ID: Date: Sun, 20 Feb 2005 11:08:43 +0100 From: Gert Cuykens To: FreeBSD Questions In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: Subject: Re: What do you use to burn things ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gert Cuykens List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 10:08:44 -0000 On Sun, 20 Feb 2005 10:54:53 +0100, Gert Cuykens wrote: > On Sun, 20 Feb 2005 10:41:59 +0100, Gert Cuykens wrote: > > How do you burn a iso file for example ? > > > > What does this mean ? > > I# burncd -f /dev/acd0 -s max data /root/Desktop/memtest86-3.2.iso fixate > next writeable LBA 581 > writing from file /root/Desktop/memtest86-3.2.iso size 1794 KB > > only wrote -1 of 32768 bytes: Input/output error > > fixating CD, please wait.. > burncd: ioctl(CDRIOCFIXATE): Input/output error > I# > tryed this also I# burncd -f /dev/acd0 -s max blank blanking CD - 97 % done I# burncd -f /dev/acd0 -s max data "/root/Desktop/memtest86-3.2.iso" fixate next writeable LBA 0 writing from file /root/Desktop/memtest86-3.2.iso size 1794 KB written this track 640 KB (35%) total 640 KB only wrote -1 of 32768 bytes: Device busy fixating CD, please wait.. I# From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 10:17:40 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D4E416A4CE for ; Sun, 20 Feb 2005 10:17:40 +0000 (GMT) Received: from smtp2.bahnhof.se (smtp2.bahnhof.se [213.80.101.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BE5243D45 for ; Sun, 20 Feb 2005 10:17:39 +0000 (GMT) (envelope-from mattias.bjork@sydnet.net) Received: from mfilter1.bahnhof.se (mail.bahnhof.se [213.136.33.1]) by re-injector-s2.bahnhof.se (Postfix) with ESMTP id E80AC8989F for ; Sun, 20 Feb 2005 11:17:40 +0100 (CET) Received: from localhost (mfilter1.internal [127.0.0.1]) by re-injector1.bahnhof.se (Postfix) with ESMTP id 7BE812420C for ; Sun, 20 Feb 2005 11:18:12 +0100 (CET) Received: from smtp5.bahnhof.se ([213.136.33.1]) by localhost (mfilter1.bahnhof.se [10.0.1.21]) (amavisd-new, port 10024) with ESMTP id 24516-05-2 for ; Sun, 20 Feb 2005 11:18:11 +0100 (CET) Received: from mail-gw.globecom.net (mail-gw-gc.bahnhof.net [213.80.101.101]) by smtp5.bahnhof.se (Postfix) with ESMTP id E86E2173496 for ; Sun, 20 Feb 2005 11:17:36 +0100 (CET) Received: from setiathome.birch.se (c140.a119.gbg.bahnhof.net [213.80.119.140]) by mail-gw.globecom.net (Postfix) with SMTP id 19E823B2263 for ; Sun, 20 Feb 2005 11:28:16 +0100 (CET) Received: (qmail 81600 invoked from network); 20 Feb 2005 10:16:39 -0000 Received: from unknown (HELO ?192.168.10.201?) (192.168.10.201) by ns.birch.se with SMTP; 20 Feb 2005 10:16:39 -0000 Message-ID: <42186387.5080400@sydnet.net> Date: Sun, 20 Feb 2005 11:16:39 +0100 From: =?ISO-8859-1?Q?Mattias_Bj=F6rk?= User-Agent: Mozilla Thunderbird 1.0 (X11/20050102) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at bahnhof.se (mfilter1) X-Spam-Status: No, hits=1.526 tagged_above=-999 required=9 tests=AWL, BAYES_00, J_CHICKENPOX_22, J_CHICKENPOX_32, J_CHICKENPOX_42, J_CHICKENPOX_52, J_CHICKENPOX_62, LG_4C_2V_3C, OACYS_CONS_6, TW_BF, TW_XD, TW_XF, UPPERCASE_25_50 X-Spam-Level: * Subject: Some sound problems with an Asus A7N8X-X motherboard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 10:17:40 -0000 Dear list, I have a Asus A7N8X-X motherboard and I wounder what exactly are the right kernel module I should load to get my sound working. I have solved this buy setting snd_driver_load to "YES" in /boot/loader.conf. But I don't think that its the best solution. Because it loads all the kernel modules for sound. So my question is, what is the correct module or how do I figure that out. I have tried to load the modules one by one, but that did not get my sound card working. It was when I set snd_driver_load to "YES" in loader.conf and then rebooted that solved the problem. Another problem I have is also that I could only play one sound/soundstream at the time. Before I replaced my not so very stable motherboard with this one I was able to play more than one sound at one time. Perhaps this is something that I should set with sysclt, but then again I don't remember doing it with the old motherboard. Here below are the output of kldstat, scanpci and selected info from dmesg: kldstat: I Id Refs Address Size Name 1 64 0xc0400000 36e518 kernel 2 1 0xc076f000 5efc vesa.ko 3 2 0xc0775000 1f0ec linux.ko 4 1 0xc0795000 3290 snd_driver.ko 5 2 0xc0799000 5cd8 snd_vibes.ko 6 2 0xc079f000 4c28 snd_via82c686.ko 7 2 0xc07a4000 5d9c snd_via8233.ko 8 2 0xc07aa000 5aa4 snd_t4dwave.ko 9 2 0xc07b0000 5e04 snd_solo.ko 10 5 0xc07b6000 4dcc snd_sbc.ko 11 2 0xc07bb000 5304 snd_sb16.ko 12 2 0xc07c1000 4e7c snd_sb8.ko 13 2 0xc07c6000 119fc snd_neomagic.ko 14 3 0xc07d8000 c734 snd_mss.ko 15 2 0xc07e5000 9378 snd_maestro3.ko 16 2 0xc07ef000 7840 snd_maestro.ko 17 2 0xc07f7000 5ea4 snd_ich.ko 18 2 0xc07fd000 50f4 snd_fm801.ko 19 3 0xc0803000 637c snd_ess.ko 20 2 0xc080a000 68ac snd_es137x.ko 21 2 0xc0811000 7ef4 snd_emu10k1.ko 22 2 0xc0819000 b8cc snd_ds1.ko 23 4 0xc0825000 8624 snd_csa.ko 24 2 0xc082e000 583c snd_cs4281.ko 25 2 0xc0834000 5a1c snd_cmi.ko 26 2 0xc083a000 52bc snd_als4000.ko 27 2 0xc0840000 51fc snd_ad1816.ko 28 1 0xc0846000 1c0c io.ko 29 2 0xc0848000 4844 mem.ko 30 1 0xc084d000 4aea88 nvidia.ko 31 14 0xc0cfc000 5dbf4 acpi.ko 32 1 0xc207a000 a000 ntfs.ko scanpci: pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x10de device 0x01e0 nVidia Corporation nForce2 AGP (different version?) CardVendor 0x1043 card 0x80ac (Asustek Computer, Inc., Card unknown) STATUS 0x00b0 COMMAND 0x0006 CLASS 0x06 0x00 0x00 REVISION 0xc1 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BASE0 0xd0000008 addr 0xd0000000 MEM PREFETCHABLE BYTE_0 0x02 BYTE_1 0x60 BYTE_2 0x20 BYTE_3 0x00 pci bus 0x0000 cardnum 0x00 function 0x01: vendor 0x10de device 0x01ea nVidia Corporation nForce2 Memory Controller 0 CardVendor 0x1043 card 0x80ac (Asustek Computer, Inc., Card unknown) STATUS 0x0020 COMMAND 0x0000 CLASS 0x05 0x00 0x00 REVISION 0xc1 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x00 INT_LINE 0xff BYTE_0 0x04 BYTE_1 0x00 BYTE_2 0x00 BYTE_3 0x70 pci bus 0x0000 cardnum 0x00 function 0x02: vendor 0x10de device 0x01ee nVidia Corporation nForce2 Memory Controller 4 CardVendor 0x1043 card 0x80ac (Asustek Computer, Inc., Card unknown) STATUS 0x0020 COMMAND 0x0000 CLASS 0x05 0x00 0x00 REVISION 0xc1 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x00 INT_LINE 0xff BYTE_0 0x01 BYTE_1 0x10 BYTE_2 0xca BYTE_3 0x12 pci bus 0x0000 cardnum 0x00 function 0x03: vendor 0x10de device 0x01ed nVidia Corporation nForce2 Memory Controller 3 CardVendor 0x1043 card 0x80ac (Asustek Computer, Inc., Card unknown) STATUS 0x0020 COMMAND 0x0000 CLASS 0x05 0x00 0x00 REVISION 0xc1 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BYTE_0 0x30 BYTE_1 0x00 BYTE_2 0x00 BYTE_3 0x00 pci bus 0x0000 cardnum 0x00 function 0x04: vendor 0x10de device 0x01ec nVidia Corporation nForce2 Memory Controller 2 CardVendor 0x1043 card 0x80ac (Asustek Computer, Inc., Card unknown) STATUS 0x0020 COMMAND 0x0000 CLASS 0x05 0x00 0x00 REVISION 0xc1 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x00 INT_LINE 0xff pci bus 0x0000 cardnum 0x00 function 0x05: vendor 0x10de device 0x01ef nVidia Corporation nForce2 Memory Controller 5 CardVendor 0x1043 card 0x80ac (Asustek Computer, Inc., Card unknown) STATUS 0x0020 COMMAND 0x0000 CLASS 0x05 0x00 0x00 REVISION 0xc1 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x00 INT_LINE 0xff pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x10de device 0x0060 nVidia Corporation nForce2 ISA Bridge CardVendor 0x1043 card 0x80ad (Asustek Computer, Inc. A7N8X Mainboard) STATUS 0x00b0 COMMAND 0x000f CLASS 0x06 0x01 0x00 REVISION 0xa4 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x00 INT_LINE 0xff BYTE_0 0x43 BYTE_1 0x10 BYTE_2 0xad BYTE_3 0x80 pci bus 0x0000 cardnum 0x01 function 0x01: vendor 0x10de device 0x0064 nVidia Corporation nForce2 SMBus (MCP) CardVendor 0x1043 card 0x0c11 (Asustek Computer, Inc., Card unknown) STATUS 0x00b0 COMMAND 0x0001 CLASS 0x0c 0x05 0x00 REVISION 0xa2 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BASE0 0x0000e401 addr 0x0000e400 I/O MAX_LAT 0x01 MIN_GNT 0x03 INT_PIN 0x01 INT_LINE 0x0a BYTE_0 0x43 BYTE_1 0x10 BYTE_2 0x11 BYTE_3 0x0c pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x10de device 0x0067 nVidia Corporation nForce2 USB Controller CardVendor 0x1043 card 0x0c11 (Asustek Computer, Inc. A7N8X Mainboard) STATUS 0x00b0 COMMAND 0x0007 CLASS 0x0c 0x03 0x10 REVISION 0xa4 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BASE0 0xe6003000 addr 0xe6003000 MEM MAX_LAT 0x01 MIN_GNT 0x03 INT_PIN 0x01 INT_LINE 0x0b BYTE_0 0x43 BYTE_1 0x10 BYTE_2 0x11 BYTE_3 0x0c pci bus 0x0000 cardnum 0x02 function 0x01: vendor 0x10de device 0x0067 nVidia Corporation nForce2 USB Controller CardVendor 0x1043 card 0x0c11 (Asustek Computer, Inc. A7N8X Mainboard) STATUS 0x00b0 COMMAND 0x0007 CLASS 0x0c 0x03 0x10 REVISION 0xa4 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BASE0 0xe6004000 addr 0xe6004000 MEM MAX_LAT 0x01 MIN_GNT 0x03 INT_PIN 0x02 INT_LINE 0x0a BYTE_0 0x43 BYTE_1 0x10 BYTE_2 0x11 BYTE_3 0x0c pci bus 0x0000 cardnum 0x02 function 0x02: vendor 0x10de device 0x0068 nVidia Corporation nForce2 USB Controller CardVendor 0x1043 card 0x0c11 (Asustek Computer, Inc. A7N8X Mainboard) STATUS 0x00b0 COMMAND 0x0006 CLASS 0x0c 0x03 0x20 REVISION 0xa4 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BASE0 0xe6005000 addr 0xe6005000 MEM MAX_LAT 0x01 MIN_GNT 0x03 INT_PIN 0x03 INT_LINE 0x0b BYTE_0 0x43 BYTE_1 0x10 BYTE_2 0x11 BYTE_3 0x0c pci bus 0x0000 cardnum 0x04 function 0x00: vendor 0x10de device 0x0066 nVidia Corporation nForce2 Ethernet Controller CardVendor 0x1043 card 0x80a7 (Asustek Computer, Inc., Card unknown) STATUS 0x00b0 COMMAND 0x0007 CLASS 0x02 0x00 0x00 REVISION 0xa1 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE0 0xe6000000 addr 0xe6000000 MEM BASE1 0x0000d001 addr 0x0000d000 I/O MAX_LAT 0x14 MIN_GNT 0x01 INT_PIN 0x01 INT_LINE 0x0b BYTE_0 0x43 BYTE_1 0x10 BYTE_2 0xa7 BYTE_3 0x80 pci bus 0x0000 cardnum 0x06 function 0x00: vendor 0x10de device 0x006a nVidia Corporation nForce2 AC97 Audio Controler (MCP) CardVendor 0x1043 card 0x8095 (Asustek Computer, Inc., Card unknown) STATUS 0x00b0 COMMAND 0x0007 CLASS 0x04 0x01 0x00 REVISION 0xa1 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE0 0x0000d401 addr 0x0000d400 I/O BASE1 0x0000d801 addr 0x0000d800 I/O BASE2 0xe6001000 addr 0xe6001000 MEM MAX_LAT 0x05 MIN_GNT 0x02 INT_PIN 0x01 INT_LINE 0x0a BYTE_0 0x43 BYTE_1 0x10 BYTE_2 0x95 BYTE_3 0x80 pci bus 0x0000 cardnum 0x08 function 0x00: vendor 0x10de device 0x006c nVidia Corporation nForce2 External PCI Bridge STATUS 0x00a0 COMMAND 0x0107 CLASS 0x06 0x04 0x00 REVISION 0xa3 HEADER 0x01 LATENCY 0x00 PRIBUS 0x00 SECBUS 0x01 SUBBUS 0x01 SECLT 0x20 SECSTATUS 0xa280 IOBASE 0xc000 IOLIM 0xcfff NOPREFETCH_MEMBASE 0xe4000000 MEMLIM 0xe5ffffff PREFETCH_MEMBASE 0xfff00000 MEMLIM 0x000fffff NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT NO_VGA_EN NO_ISA_EN SERR_EN NO_PERR_EN pci bus 0x0000 cardnum 0x09 function 0x00: vendor 0x10de device 0x0065 nVidia Corporation nForce2 IDE CardVendor 0x1043 card 0x0c11 (Asustek Computer, Inc., Card unknown) STATUS 0x00b0 COMMAND 0x0005 CLASS 0x01 0x01 0x8a REVISION 0xa2 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE4 0x0000f001 addr 0x0000f000 I/O MAX_LAT 0x01 MIN_GNT 0x03 INT_PIN 0x00 INT_LINE 0x00 BYTE_0 0x43 BYTE_1 0x10 BYTE_2 0x11 BYTE_3 0x0c pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x10de device 0x01e8 nVidia Corporation nForce2 AGP STATUS 0x0220 COMMAND 0x0107 CLASS 0x06 0x04 0x00 REVISION 0xc1 HEADER 0x01 LATENCY 0x20 PRIBUS 0x00 SECBUS 0x02 SUBBUS 0x02 SECLT 0x20 SECSTATUS 0x2220 IOBASE 0xf000 IOLIM 0x0fff NOPREFETCH_MEMBASE 0xd4000000 MEMLIM 0xdbffffff PREFETCH_MEMBASE 0xdc000000 MEMLIM 0xe3ffffff NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT VGA_EN NO_ISA_EN SERR_EN NO_PERR_EN pci bus 0x0001 cardnum 0x08 function 0x00: vendor 0x10b7 device 0x9055 3Com Corporation 3c905B 100BaseTX [Cyclone] STATUS 0x0210 COMMAND 0x0007 CLASS 0x02 0x00 0x00 REVISION 0x30 BIST 0x00 HEADER 0x00 LATENCY 0x20 CACHE 0x08 BASE0 0x0000c001 addr 0x0000c000 I/O BASE1 0xe5000000 addr 0xe5000000 MEM MAX_LAT 0x0a MIN_GNT 0x0a INT_PIN 0x01 INT_LINE 0x0a pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x10de device 0x0201 nVidia Corporation NV20 [GeForce3 Ti 200] STATUS 0x02b0 COMMAND 0x0007 CLASS 0x03 0x00 0x00 REVISION 0xa3 BIST 0x00 HEADER 0x00 LATENCY 0xf8 CACHE 0x00 BASE0 0xd4000000 addr 0xd4000000 MEM BASE1 0xdc000008 addr 0xdc000000 MEM PREFETCHABLE BASE2 0xe0000008 addr 0xe0000000 MEM PREFETCHABLE MAX_LAT 0x01 MIN_GNT 0x05 INT_PIN 0x01 INT_LINE 0x0b dmesg: pcm0: port 0xd800-0xd87f,0xd400-0xd4ff mem 0xe6001000-0xe6001fff irq 10 at device 6.0 on pci0 pcm0: That is all that I can think of, perhaps I have forgotten something. The please let me know. :) Best Regards Mattias Björk From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 10:53:28 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90C6D16A4CE for ; Sun, 20 Feb 2005 10:53:28 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 7B38043D5E for ; Sun, 20 Feb 2005 10:53:27 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 20 Feb 2005 10:53:26 -0000 Received: from unknown (EHLO zi025.glhnet.mhn.de) (129.187.19.157) by mail.gmx.net (mp027) with SMTP; 20 Feb 2005 11:53:26 +0100 X-Authenticated: #147403 Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id BD394C282; Sun, 20 Feb 2005 11:53:40 +0100 (CET) Date: Sun, 20 Feb 2005 11:53:40 +0100 From: Simon Barner To: Gert Cuykens Message-ID: <20050220105340.GE51280@zi025.glhnet.mhn.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ey/N+yb7u/X9mFhi" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-Y-GMX-Trusted: 0 cc: FreeBSD Questions Subject: Re: What do you use to burn things ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 10:53:28 -0000 --ey/N+yb7u/X9mFhi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, have you tried lower speeds? It seems you are using -s max all the time... You also could try whether your drive works better with cdrecord + ATAPICAM. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM A benefit of using ATAPICAM is that this enables you to use nice gui tools like sysutils/k3b. Simon --ey/N+yb7u/X9mFhi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCGGw0Ckn+/eutqCoRAjjwAKDytk+SqMV23YBdf96uA9Tph43rIACg721d 7JIDqdO/0OBmj1oUx9npLFQ= =945q -----END PGP SIGNATURE----- --ey/N+yb7u/X9mFhi-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 12:47:55 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1FA216A4CE for ; Sun, 20 Feb 2005 12:47:55 +0000 (GMT) Received: from mta09-winn.mailhost.ntl.com (smtpout17.mailhost.ntl.com [212.250.162.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99CE243D55 for ; Sun, 20 Feb 2005 12:47:54 +0000 (GMT) (envelope-from scott@fishballoon.org) Received: from aamta03-winn.mailhost.ntl.com ([212.250.162.8]) by mta09-winn.mailhost.ntl.com with ESMTP <20050220124753.VTAL29900.mta09-winn.mailhost.ntl.com@aamta03-winn.mailhost.ntl.com>; Sun, 20 Feb 2005 12:47:53 +0000 Received: from llama.fishballoon.org ([82.4.146.133]) by aamta03-winn.mailhost.ntl.com with ESMTP <20050220124753.HPQM9818.aamta03-winn.mailhost.ntl.com@llama.fishballoon.org>; Sun, 20 Feb 2005 12:47:53 +0000 Received: from tuatara.fishballoon.org ([192.168.1.6]) by llama.fishballoon.org with esmtp (Exim 4.43 (FreeBSD)) id 1D2qV4-0002jP-VR; Sun, 20 Feb 2005 12:47:51 +0000 Received: (from scott@localhost) by tuatara.fishballoon.org (8.13.1/8.13.1/Submit) id j1KCloQH000601; Sun, 20 Feb 2005 12:47:50 GMT (envelope-from scott) Date: Sun, 20 Feb 2005 12:47:50 +0000 From: Scott Mitchell To: Gert Cuykens Message-ID: <20050220124749.GA523@tuatara.fishballoon.org> References: <5b8472dd5925a0b0b59f15cd9f8e15f3@shire.net> <675354920.20050220001731@wanadoo.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 4.11-STABLE i386 cc: freebsd-questions@freebsd.org Subject: Re: c++ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 12:47:55 -0000 On Sun, Feb 20, 2005 at 08:41:30AM +0100, Gert Cuykens wrote: > > So if data is declared as a gchar *data; for example, then the value > of data is a memory adress right ? So if A=data; and B=&data; then A > and B are exactly the same result right ? No. A is a 'pointer to gchar' (or gchar*) and B is a 'pointer to pointer to gchar' (or gchar**). The '&data' syntax means 'the address of the data variable', ie. the address of a gchar*, whereas data itself contains the address of a gchar. > Now why would anybody want a gchar when a integer is needed ? That is > just making it more complicated then it already is? Because the code in question deals with gchars (whatever they are) not integers? They won't necessarily be the same thing on different architectures, or even different compilers on the same architecture. Also, the type is called 'gchar' presumably because it logically holds some kind of character data, whereas an integer variable holds an integer. Calling them different things in the code helps to make it clear what the programmer's intention is, even if the two types happen to have the same representation on a given machine/compiler. In any case, this stuff really has nothing to do with FreeBSD - you should be asking these questions in a C/C++ programming group. Cheers, Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 13:35:20 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3907116A4CF for ; Sun, 20 Feb 2005 13:35:20 +0000 (GMT) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADF3C43D4C for ; Sun, 20 Feb 2005 13:35:19 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (net4801-2 [192.168.254.1]) by fw.farid-hajji.net (Postfix) with ESMTP id E39174B63D; Sun, 20 Feb 2005 14:31:28 +0100 (CET) Date: Sun, 20 Feb 2005 14:31:28 +0100 From: cpghost@cordula.ws To: Simon Barner Message-ID: <20050220133128.GA90974@fw.farid-hajji.net> References: <20050220105340.GE51280@zi025.glhnet.mhn.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050220105340.GE51280@zi025.glhnet.mhn.de> User-Agent: Mutt/1.5.6i cc: FreeBSD Questions cc: Gert Cuykens Subject: Re: What do you use to burn things ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 13:35:20 -0000 On Sun, Feb 20, 2005 at 11:53:40AM +0100, Simon Barner wrote: > You also could try whether your drive works better with cdrecord + > ATAPICAM. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM > > A benefit of using ATAPICAM is that this enables you to use nice > gui tools like sysutils/k3b. Another benefit of ATAPICAM is that you can also use growisofs from /usr/ports/sysutils/dvd+rw-tools to drive DVD writers. > Simon Cheers, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 13:37:09 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EFFA16A4CE for ; Sun, 20 Feb 2005 13:37:09 +0000 (GMT) Received: from lotus.glocalnet.net (lotus.glocalnet.net [213.163.128.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CA7E43D1F for ; Sun, 20 Feb 2005 13:37:09 +0000 (GMT) (envelope-from tomas.olsson@soderhamn.mail.telia.com) Received: from tompa9c40b577b (84.217.68.216) by lotus.glocalnet.net (7.1.016.1) (authenticated as jgz488h) id 41EB6A2F00D4AB52 for freebsd-questions@freebsd.org; Sun, 20 Feb 2005 14:37:05 +0100 Message-ID: <001601c51751$48dfbf20$0100fea9@tompa9c40b577b> From: "Tomas Olsson" To: Date: Sun, 20 Feb 2005 14:37:11 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: too many LCP NAKs sent X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 13:37:09 -0000 Hi, Im having trouble getting ppp to work. I have glocalnet ADSL and when Im = trying to connect the following message are printed in my log file : too = many LCP NAKs sent - abandoning connection What can be wrong? When I use show physical I see that I recieve and = send packages. My ppp.conf: default:set device PPPoE:rl0 set speed sync set mru 1492 set mtu 1492 set ctsrts off enable lqr set log phase tun add default HISADDR enable dns tninet: set authname XXXXX@glocalnet.net set authkey XXXX I also have my dns adresses in the resolve file Thanks, Tomas=20 From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 14:16:53 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3234A16A4CE for ; Sun, 20 Feb 2005 14:16:53 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5514643D1F for ; Sun, 20 Feb 2005 14:16:52 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j1KEGpXq027879 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Feb 2005 06:16:51 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j1KEGokx027877; Sun, 20 Feb 2005 06:16:51 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Sun, 20 Feb 2005 06:16:50 -0800 From: "Loren M. Lang" To: Jamie Ostrowski Message-ID: <20050220141650.GC4471@alzatex.com> References: <20050217215904.G78640@floyd.gnulife.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050217215904.G78640@floyd.gnulife.org> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: freebsd-questions@freebsd.org Subject: Re: Unexpected resolver behavior X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 14:16:53 -0000 On Thu, Feb 17, 2005 at 10:04:22PM -0600, Jamie Ostrowski wrote: > > > > I'm running 4.10-p5 on my workstation at home, and I can't understand > why I cannot get www.foo.com to resolve to an IP I am specifying in > /etc/hosts (I want to over-ride the IP returned by the nameserver I query > by default). > > > in /etc/hosts: > > 199.xx.xx.24 www.foo.com. Remove the . at the end of com. Finishing domain names with a period like that is only used in bind's zone files, nowhere else. > > > in /etc/host.conf: > > # $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $ > # First try the /etc/hosts file > /etc/hosts > # Now try the nameserver next. > bind > # If you have YP/NIS configured, uncom > > > (I have no nsswitch.conf file in /etc) > > > But when I try to resolve www.foo.com from the command line, I am getting > the IP address from the nameserver from the outside world rather than the > IP from /etc/hosts. I am not running a local named on this machine, > either. Any ideas? > > > > - Jamie > > > > > > > > > > > The Moon is Waxing Gibbous (71% of Full) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 14:23:40 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89C9C16A4CE for ; Sun, 20 Feb 2005 14:23:40 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23EE343D46 for ; Sun, 20 Feb 2005 14:23:40 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j1KENdXq027965 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Feb 2005 06:23:39 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j1KENd8V027963; Sun, 20 Feb 2005 06:23:39 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Sun, 20 Feb 2005 06:23:39 -0800 From: "Loren M. Lang" To: Pat Maddox Message-ID: <20050220142339.GD4471@alzatex.com> References: <810a540e050214203221952797@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <810a540e050214203221952797@mail.gmail.com> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: freebsd-questions@freebsd.org Subject: Re: Configuring PF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 14:23:40 -0000 On Mon, Feb 14, 2005 at 09:32:25PM -0700, Pat Maddox wrote: > I want to install a firewall on my system. First of all, is PF the > one I should be using? It seems to get the most recommendations. > > I don't actually seem to have any problems configuring it - I just > have some problems testing the configuration. I can ssh to the box, > and I can access port 80...but I'd like to be able to just scan it to > quickly see what's up. When PF is disabled, I can nmap it in about 9 > seconds. When I turn it on, it takes over 3 minutes to do. These > machines are on the same network, so the connection is obviously fast. This is a good thing, IMHO. Think about all those script kiddies sitting out there looking for a nice, juicy server to compromise. If it takes them 3 minutes to port scan your machine, they'll probably cancel it before it's finished and move on. I believe what's happening is that all ports that aren't open are configured to drop packets instead of reject them like is default. Reject means send back an error message saying port is closed where dropping just ignores it. The port scanner sends out a request and waits for a response, either "Hello," or "Sorry, I'm closed." It will wait quite a while before it decides that nothings there. > > Are there any good, pretty simple guides on setting up PF? I'm having > a tough time understanding what the rulesets all mean. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 14:31:54 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98C5116A4CE for ; Sun, 20 Feb 2005 14:31:54 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBC9C43D48 for ; Sun, 20 Feb 2005 14:31:53 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j1KEVjXq028082 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Feb 2005 06:31:45 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j1KEVihx028080; Sun, 20 Feb 2005 06:31:44 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Sun, 20 Feb 2005 06:31:44 -0800 From: "Loren M. Lang" To: David Wassman Message-ID: <20050220143144.GE4471@alzatex.com> References: <42118065.1080303@cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42118065.1080303@cox.net> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: freebsd-questions@freebsd.org Subject: Re: probably a simple problem with permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 14:31:54 -0000 On Mon, Feb 14, 2005 at 11:53:57PM -0500, David Wassman wrote: > I am probably understanding this problem incorrectly meaning there is a > simple explanation that is escaping me. My /dev/cd0 is owned by root so > I have tried to change both the owner and the group so I can use it as a > user. > > I have tried: > chmod 777 /dev/cd0 > chmod -R 777 /dev/cd0 > chgrp 777 /dev/cd0 It should at best be 666, and probably only 644 since cds are read-only. I don't know if a cd burner needs to be 666 for ordinary users to burn though. device files, AFAIK, have no use for execute permissions. And I don't think 777 is a valid group name unless you decided to add it for some reason. If your cdrom device is cd0 then add "perm cd0 0644" to /etc/devfs.conf > > The problem is that when I reboot the system the old permissions return > and I have to su and change the permissions back. How do I make these > changes permanent? There is probably a security reason for this but it > is very inconvenient on a desktop station. Any help would be > appreciated. I am running 5.3. > > 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" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 14:39:32 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 984A716A4CE for ; Sun, 20 Feb 2005 14:39:32 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CC7443D1F for ; Sun, 20 Feb 2005 14:39:32 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j1KEdVXq028120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Feb 2005 06:39:31 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j1KEdTFp028118; Sun, 20 Feb 2005 06:39:29 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Sun, 20 Feb 2005 06:39:29 -0800 From: "Loren M. Lang" To: kilim Message-ID: <20050220143929.GF4471@alzatex.com> References: <20050215142205.GA28272@phenix.rootshell.be> <55651.213.236.228.129.1108481931.squirrel@mail.adventuras.no> <57240.213.236.228.129.1108483003.squirrel@mail.adventuras.no> <20050215163842.GA10689@phenix.rootshell.be> <20050215165141.GA87901@reddwarf.twcny.rr.com> <20050215171433.GA2345@phenix.rootshell.be> <20050215172327.GA3869@phenix.rootshell.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050215172327.GA3869@phenix.rootshell.be> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: questions@freebsd.org Subject: Re: SSH-agent setting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 14:39:32 -0000 On Tue, Feb 15, 2005 at 06:23:27PM +0100, kilim wrote: > > > On Tue, Feb 15, 2005 at 11:51:41AM -0500, Clayton Scott Kern wrote: > > > > > > Why not use keychain and put it in the appropriate rc file (.bashrc, > > > cshrc, etc.), then you'll be connected to the agent automatically. > > My bad. > > Please disregard my previous email. > > I apologise ! > > Your suggestion is great. > > What I didn't realise is that keychain is a great tool which resides > in /usr/ports/security/keychain and it does this: > > "allowing you to easily have one long-running ssh-agent process per > system, rather than per login session." Actually, it's simpler than that. Just add the following lines to your .profile: export SSH_AUTH_SOCK=/tmp/user.agent ssh-add -L >/dev/null 2>&1 if [ $? -ge 2 ]; then ssh-agent -a $SSH_AUTH_SOCK >/dev/null 2>&1 fi Then you'll just need to run ssh-add once after every reboot to re-add the key, but the ssh-agent will be accessible from every terminal, X11 session, ssh login, etc. with your username. > > as its web site states: > > http://www.gentoo.org/proj/en/keychain/index.xml > > > Thank you Clayton ! > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 14:49:16 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3959016A4CE for ; Sun, 20 Feb 2005 14:49:16 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66C1243D2F for ; Sun, 20 Feb 2005 14:48:55 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j1KEmsXq028211 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Feb 2005 06:48:54 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j1KEmXTQ028206; Sun, 20 Feb 2005 06:48:33 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Sun, 20 Feb 2005 06:48:33 -0800 From: "Loren M. Lang" To: Sandy Rutherford Message-ID: <20050220144833.GG4471@alzatex.com> References: <03fb01c51457$3f246ff0$0b01a8c0@enigmedia.net> <1108595484.708.8.camel@chaucer.jeays.ca> <4213F7A1.3030304@cis.strath.ac.uk> <20050217020202.GB34810@mail.oss.uswest.net> <16916.22919.40934.655595@szamoca.krvarr.bc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16916.22919.40934.655595@szamoca.krvarr.bc.ca> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: Jamie Novak cc: freebsd-questions@freebsd.org Subject: Re: can't reboot after messing up my rc.conf file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 14:49:16 -0000 On Thu, Feb 17, 2005 at 12:44:55AM -0800, Sandy Rutherford wrote: > >>>>> On Wed, 16 Feb 2005 20:02:02 -0600, > >>>>> Jamie Novak said: > > > I may have missed something from the thread before I joined the list, > > but is there any reason you can't just mount the filesystems and use vi > > as you're used to? If you're getting far enough in the boot process to > > get an opportunity to interact with a shell, you should just be able to > > mount -a and vi whatever. (Or, if you want to play it safe (or if the > > system wasn't cleanly shutdown before), fsck and then mount -a) > > This should work fine. Although, depending on where he is in the boot > process, / may be mounted read-only. Do `mount -uw /' to make it > read-write. > > The lesson here is that when editing any file that is even remotely > connected to the boot process, _make_a_backup_copy_. You can then > simply mv the backup copy back into place should you mess up. Actually, Absolute BSD has a handy suggestion about using rcs for all important files in /etc/. Maybe you should try looking into that. > > Sandy > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 15:03:33 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0F5416A4CE for ; Sun, 20 Feb 2005 15:03:33 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9368743D4C for ; Sun, 20 Feb 2005 15:03:33 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so148759rng for ; Sun, 20 Feb 2005 07:03:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=JPBdDgANDSmSVxxzaKVXH8pFM5QbERBBFPrgP6mGLEGWYvYFZtB10pS93kWr5xHmNyxSoqS8qjvLQ7iAJU6j4WYNCxa+bWlHoFE4pfVvhxe3OsWUhd1fp5TL31pU+wGXDmLr46xBAyKAgtSz0aAwnyCWgDXhzyFt0RB3TRR25AI= Received: by 10.38.72.54 with SMTP id u54mr88930rna; Sun, 20 Feb 2005 07:03:32 -0800 (PST) Received: by 10.38.74.23 with HTTP; Sun, 20 Feb 2005 07:03:32 -0800 (PST) Message-ID: Date: Sun, 20 Feb 2005 16:03:32 +0100 From: Gert Cuykens To: "cpghost@cordula.ws" In-Reply-To: <20050220133128.GA90974@fw.farid-hajji.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20050220105340.GE51280@zi025.glhnet.mhn.de> <20050220133128.GA90974@fw.farid-hajji.net> cc: FreeBSD Questions Subject: Re: What do you use to burn things ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gert Cuykens List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 15:03:34 -0000 On Sun, 20 Feb 2005 14:31:28 +0100, cpghost@cordula.ws wrote: > On Sun, Feb 20, 2005 at 11:53:40AM +0100, Simon Barner wrote: > > You also could try whether your drive works better with cdrecord + > > ATAPICAM. > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM > > > > A benefit of using ATAPICAM is that this enables you to use nice > > gui tools like sysutils/k3b. > > Another benefit of ATAPICAM is that you can also use growisofs from > /usr/ports/sysutils/dvd+rw-tools to drive DVD writers. > > > Simon > > Cheers, > -cpghost. > > -- > Cordula's Web. http://www.cordula.ws/ > thx From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 15:15:56 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FC8316A4CE for ; Sun, 20 Feb 2005 15:15:56 +0000 (GMT) Received: from mail.terralink.de (mail.tlink.de [217.9.16.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 774B943D46 for ; Sun, 20 Feb 2005 15:15:55 +0000 (GMT) (envelope-from me@daniel.stefan.haischt.name) Received: from smtp.abyssworld.de (daniel-s-haischt.biz [84.252.66.2]) by mail.terralink.de (Postfix) with ESMTP id 1AA45B869; Sun, 20 Feb 2005 16:15:54 +0100 (CET) Received-SPF: none (smtp.abyssworld.de: 192.168.1.6 is neither permitted nor denied by domain of daniel.stefan.haischt.name) client-ip=192.168.1.6; envelope-from=me@daniel.stefan.haischt.name; helo=[192.168.120.239]; Received: from [192.168.120.239] (smtp.abyssworld.de [192.168.1.6]) by smtp.abyssworld.de (Postfix) with ESMTP id 578BB17010; Sun, 20 Feb 2005 16:15:47 +0100 (CET) Message-ID: <4218A99F.4080204@daniel.stefan.haischt.name> Date: Sun, 20 Feb 2005 16:15:43 +0100 From: "Daniel S. Haischt" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Gert Cuykens References: <5b8472dd5925a0b0b59f15cd9f8e15f3@shire.net> <675354920.20050220001731@wanadoo.fr> <20050220124749.GA523@tuatara.fishballoon.org> In-Reply-To: <20050220124749.GA523@tuatara.fishballoon.org> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Processed-By: GNU Anubis v4.0 X-Purified-With: DSPAM, Clam AntiVirus cc: freebsd-questions@freebsd.org Subject: Re: c++ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: me@daniel.stefan.haischt.name List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 15:15:56 -0000 Gert Cuykens, I would suggest to post such questions to gtk-list@gnome.org, because IIRC you are trying to code a GTK app ... Additionally I would suggest to learn C/C++ first to get a better understanding of the whole language structure. Or at least please join the c# IRC channel at irc.freenode.net to ask such questions, it's quite annoying to see them on a list which is dedicated to an UNIX OS. Scott Mitchell schrieb: > On Sun, Feb 20, 2005 at 08:41:30AM +0100, Gert Cuykens wrote: > >>So if data is declared as a gchar *data; for example, then the value >>of data is a memory adress right ? So if A=data; and B=&data; then A >>and B are exactly the same result right ? > > > No. A is a 'pointer to gchar' (or gchar*) and B is a 'pointer to pointer > to gchar' (or gchar**). The '&data' syntax means 'the address of the data > variable', ie. the address of a gchar*, whereas data itself contains the > address of a gchar. > > >>Now why would anybody want a gchar when a integer is needed ? That is >>just making it more complicated then it already is? > > > Because the code in question deals with gchars (whatever they are) not > integers? They won't necessarily be the same thing on different > architectures, or even different compilers on the same architecture. Also, > the type is called 'gchar' presumably because it logically holds some kind > of character data, whereas an integer variable holds an integer. Calling > them different things in the code helps to make it clear what the > programmer's intention is, even if the two types happen to have the same > representation on a given machine/compiler. > > In any case, this stuff really has nothing to do with FreeBSD - you should > be asking these questions in a C/C++ programming group. > > Cheers, > > Scott > -- Mit freundlichen Gruessen / With kind regards DAn.I.El S. Haischt Want a complete signature??? Type at a shell prompt: $ > finger -l haischt@daniel.stefan.haischt.name From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 15:20:55 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C8BD16A4CE for ; Sun, 20 Feb 2005 15:20:55 +0000 (GMT) Received: from mail-core.space2u.com (mail-core.space2u.com [62.20.1.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4978F43D41 for ; Sun, 20 Feb 2005 15:20:54 +0000 (GMT) (envelope-from jd@dagerot.com) Received: from localhost (www-core.space2u.com [62.20.1.180]) by mail-core.space2u.com (8.13.3/8.13.2) with ESMTP id j1KFKoup004850 for ; Sun, 20 Feb 2005 16:20:50 +0100 Date: Sun, 20 Feb 2005 16:20:50 +0100 Message-Id: <200502201520.j1KFKoup004850@mail-core.space2u.com> MIME-Version: 1.0 From: "Joachim Dagerot" To: freebsd-questions@freebsd.org Cc: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Subject: Bash script programming. Sending commands to a 'screen' session X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 15:20:55 -0000 I just accidentily wiped one of my script folders. Really no big deal, I'm not doing multiK scripts. But I had one nice script laying around. It created an additional window in a named screen session and started a bittorrentheadless session within. I do remember that it took me some days to solve this last time, and I have only been sitting three hours so far. (No, I don't recall the exact syntax). I'm struggeling with this script now: #!/bin/bash echo "Starting download: $1" screen -r p2pA -X screen "nice -n 20 /usr/local/BitTorrent-3.4.2/btdownloadheadless.py --max_uploads 4 \"$1\"" But it just don't do anything useful. If I run that line from prompt, replacing $1 with a filename, then it works. It's surely something to do with citationmarks around arguments etc. but I just don't see it. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 15:34:47 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B2EF16A4CE for ; Sun, 20 Feb 2005 15:34:47 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97CD043D31 for ; Sun, 20 Feb 2005 15:34:46 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so150644rng for ; Sun, 20 Feb 2005 07:34:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=UaxKHOI9IZtxwKoNFaa8he6RDkarfXVHTYWwBybR6Cg52ZeQQGBG1o9nFQxgnCYa/0tGoSe+urNLjM26B/2tgckOzx1PEixOQKeZuUn1m7ms5hxXxcmkYW52iAbqgwTcVRNsWfRk6ypj7kJr4EbdpRWdLv5NvVplw/xte805OXM= Received: by 10.38.22.49 with SMTP id 49mr32467rnv; Sun, 20 Feb 2005 07:34:45 -0800 (PST) Received: by 10.38.74.23 with HTTP; Sun, 20 Feb 2005 07:34:45 -0800 (PST) Message-ID: Date: Sun, 20 Feb 2005 16:34:45 +0100 From: Gert Cuykens To: Scott Mitchell In-Reply-To: <20050220124749.GA523@tuatara.fishballoon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <5b8472dd5925a0b0b59f15cd9f8e15f3@shire.net> <675354920.20050220001731@wanadoo.fr> <20050220124749.GA523@tuatara.fishballoon.org> cc: freebsd-questions@freebsd.org Subject: Re: c++ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gert Cuykens List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 15:34:47 -0000 On Sun, 20 Feb 2005 12:47:50 +0000, Scott Mitchell wrote: > On Sun, Feb 20, 2005 at 08:41:30AM +0100, Gert Cuykens wrote: > > > > So if data is declared as a gchar *data; for example, then the value > > of data is a memory adress right ? So if A=data; and B=&data; then A > > and B are exactly the same result right ? > > No. A is a 'pointer to gchar' (or gchar*) and B is a 'pointer to pointer > to gchar' (or gchar**). The '&data' syntax means 'the address of the data > variable', ie. the address of a gchar*, whereas data itself contains the > address of a gchar. > > > Now why would anybody want a gchar when a integer is needed ? That is > > just making it more complicated then it already is? > > Because the code in question deals with gchars (whatever they are) not > integers? They won't necessarily be the same thing on different > architectures, or even different compilers on the same architecture. Also, > the type is called 'gchar' presumably because it logically holds some kind > of character data, whereas an integer variable holds an integer. Calling > them different things in the code helps to make it clear what the > programmer's intention is, even if the two types happen to have the same > representation on a given machine/compiler. > > In any case, this stuff really has nothing to do with FreeBSD - you should > be asking these questions in a C/C++ programming group. > > Cheers, > > Scott > > -- Thx i think i understand now :) PS Freebsd source is c++ right ? So you could also call this the free c++ question mailing list :) Also about all the get a c++ book comments, i tryed that once but when i ask the book a question, it doesnt say anything back. It only makes noises when you flaper the pages trough the wind. By the way if somebody passing your street asking for direction you dont answer get a map either right ? From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 15:38:33 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D69D16A4CE for ; Sun, 20 Feb 2005 15:38:33 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24ED343D41 for ; Sun, 20 Feb 2005 15:38:33 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so150899rng for ; Sun, 20 Feb 2005 07:38:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=iOEVHZLqJdi7sbZwVQdw3ODoq21qeF9plBErk1XeDZ9KRmO1DBMbM8Y2HUFqzZ6Lv12PY36f2/T/vv+RWER61XnbSllNkI+t6MtdJT81X5rzP01i4HGt32gHHvZPDYzS5GAXMtdpLJaLFVjmZMd/d0RrounnyYqxfT7lNxQi+rE= Received: by 10.38.81.71 with SMTP id e71mr344615rnb; Sun, 20 Feb 2005 07:38:32 -0800 (PST) Received: by 10.38.74.23 with HTTP; Sun, 20 Feb 2005 07:38:32 -0800 (PST) Message-ID: Date: Sun, 20 Feb 2005 16:38:32 +0100 From: Gert Cuykens To: me@daniel.stefan.haischt.name In-Reply-To: <4218A99F.4080204@daniel.stefan.haischt.name> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <5b8472dd5925a0b0b59f15cd9f8e15f3@shire.net> <675354920.20050220001731@wanadoo.fr> <20050220124749.GA523@tuatara.fishballoon.org> <4218A99F.4080204@daniel.stefan.haischt.name> cc: freebsd-questions@freebsd.org Subject: Re: c++ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gert Cuykens List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 15:38:33 -0000 On Sun, 20 Feb 2005 16:15:43 +0100, Daniel S. Haischt wrote: > Gert Cuykens, > > I would suggest to post such questions to gtk-list@gnome.org, > because IIRC you are trying to code a GTK app ... > > Additionally I would suggest to learn C/C++ first to get a better > understanding of the whole language structure. Or at least please > join the c# IRC channel at irc.freenode.net to ask such questions, > it's quite annoying to see them on a list which is dedicated to an > UNIX OS. I did that but they give me the get book and ask somebody els answer. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 15:44:53 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF2E716A4CE for ; Sun, 20 Feb 2005 15:44:53 +0000 (GMT) Received: from grog.secure-computing.net (grog.secure-computing.net [63.228.14.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id F20AE43D45 for ; Sun, 20 Feb 2005 15:44:52 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from [192.168.1.101] (c-66-41-157-209.mn.client2.attbi.com [66.41.157.209]) (authenticated bits=0)j1KFilKS027872 for ; Sun, 20 Feb 2005 09:44:48 -0600 (CST) (envelope-from ecrist@secure-computing.net) Mime-Version: 1.0 (Apple Message framework v619.2) Content-Transfer-Encoding: 7bit Message-Id: <27f169dba4e44e342732b06844e749be@secure-computing.net> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1--389421162" To: FreeBSD Questions From: Eric F Crist Date: Sun, 20 Feb 2005 09:44:41 -0600 X-Pgp-Agent: GPGMail 1.0.2 X-Mailer: Apple Mail (2.619.2) X-Spam-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_00, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on grog.secure-computing.net Subject: FTP Problems (probably my firewall) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 15:44:53 -0000 --Apple-Mail-1--389421162 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hello list, I'm trying to get FTPD working, but I think I'm not opening the correct ports for it in my firewall. I've got 20 and 21 open, and I get the login prompt and such, but only after a 10 to 20 second delay. After that, everything seems to work fine, until I try to upload to the incoming directory, which is disabled right now. The error takes another 10 to 20 seconds to pop up. when I have a rule such as: ipfw add 1 allow log all from any to any Everything works as fast as it normally should. Thanks. _______________________________________________________ Eric F Crist "I am so smart, S.M.R.T!" Secure Computing Networks -Homer J Simpson --Apple-Mail-1--389421162 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iEYEARECAAYFAkIYsGkACgkQRAAY9knOW+pnNgCfSHvZ1UBpWaX7IucOogKy6n1J MrUAn0tvdYo9/EDPm+IPwGPeuT0ogw78 =H4sW -----END PGP SIGNATURE----- --Apple-Mail-1--389421162-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 15:52:57 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A0BE16A4CE for ; Sun, 20 Feb 2005 15:52:57 +0000 (GMT) Received: from makeworld.com (makeworld.com [198.92.228.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24AA443D41 for ; Sun, 20 Feb 2005 15:52:57 +0000 (GMT) (envelope-from racerx@makeworld.com) Received: from localhost (localhost.com [127.0.0.1]) by makeworld.com (Postfix) with ESMTP id 8130360E7; Sun, 20 Feb 2005 09:52:56 -0600 (CST) Received: from makeworld.com ([127.0.0.1]) by localhost (makeworld.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00809-10; Sun, 20 Feb 2005 09:52:53 -0600 (CST) Received: from [198.92.228.34] (racerx.makeworld.com [198.92.228.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by makeworld.com (Postfix) with ESMTP id 6AEF86190; Sun, 20 Feb 2005 09:51:23 -0600 (CST) Message-ID: <4218B23B.4000009@makeworld.com> Date: Sun, 20 Feb 2005 09:52:27 -0600 From: Chris User-Agent: Mozilla Thunderbird 1.0 (X11/20050101) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric F Crist References: <27f169dba4e44e342732b06844e749be@secure-computing.net> In-Reply-To: <27f169dba4e44e342732b06844e749be@secure-computing.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by ClamAV 0.75.1/amavisd-new-2.2.1 (20041222) at makeworld.com - Isn't it ironic cc: FreeBSD Questions Subject: Re: FTP Problems (probably my firewall) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 15:52:57 -0000 Eric F Crist wrote: > Hello list, > > I'm trying to get FTPD working, but I think I'm not opening the correct > ports for it in my firewall. I've got 20 and 21 open, and I get the > login prompt and such, but only after a 10 to 20 second delay. After > that, everything seems to work fine, until I try to upload to the > incoming directory, which is disabled right now. The error takes > another 10 to 20 seconds to pop up. when I have a rule such as: > > ipfw add 1 allow log all from any to any > > Everything works as fast as it normally should. > > Thanks. Try this: ipfw add 1 allow log all from any to me 20,21 -- Best regards, Chris Keep emotionally active, cater to your favorite neurosis. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 16:09:56 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A43316A4CE for ; Sun, 20 Feb 2005 16:09:56 +0000 (GMT) Received: from mta13-winn.mailhost.ntl.com (smtpout19.mailhost.ntl.com [212.250.162.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3A2343D53 for ; Sun, 20 Feb 2005 16:09:55 +0000 (GMT) (envelope-from scott@fishballoon.org) Received: from aamta04-winn.mailhost.ntl.com ([212.250.162.8]) by mta13-winn.mailhost.ntl.com with ESMTP <20050220160954.PPZV11211.mta13-winn.mailhost.ntl.com@aamta04-winn.mailhost.ntl.com>; Sun, 20 Feb 2005 16:09:54 +0000 Received: from llama.fishballoon.org ([82.4.146.133]) by aamta04-winn.mailhost.ntl.com with ESMTP <20050220160954.KPYG13480.aamta04-winn.mailhost.ntl.com@llama.fishballoon.org>; Sun, 20 Feb 2005 16:09:54 +0000 Received: from tuatara.fishballoon.org ([192.168.1.6]) by llama.fishballoon.org with esmtp (Exim 4.43 (FreeBSD)) id 1D2tea-00031A-Ir; Sun, 20 Feb 2005 16:09:52 +0000 Received: (from scott@localhost) by tuatara.fishballoon.org (8.13.1/8.13.1/Submit) id j1KG9qqo000948; Sun, 20 Feb 2005 16:09:52 GMT (envelope-from scott) Date: Sun, 20 Feb 2005 16:09:51 +0000 From: Scott Mitchell To: Gert Cuykens Message-ID: <20050220160951.GB523@tuatara.fishballoon.org> Mail-Followup-To: freebsd-chat@freebsd.org References: <5b8472dd5925a0b0b59f15cd9f8e15f3@shire.net> <675354920.20050220001731@wanadoo.fr> <20050220124749.GA523@tuatara.fishballoon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 4.11-STABLE i386 cc: freebsd-questions@freebsd.org Subject: Re: c++ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-chat@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 16:09:56 -0000 On Sun, Feb 20, 2005 at 04:34:45PM +0100, Gert Cuykens wrote: > > Thx i think i understand now :) > > PS Freebsd source is c++ right ? So you could also call this the free > c++ question mailing list :) FreeBSD is almost entirely written in C, although there are a few bits of C++ under /usr/src. This is a list for questions about FreeBSD, not basic C++ programming. > Also about all the get a c++ book comments, i tryed that once but when > i ask the book a question, it doesnt say anything back. It only makes > noises when you flaper the pages trough the wind. Get a better book? Sign up for a C/C++ course? > By the way if somebody passing your street asking for direction you > dont answer get a map either right ? No, but you didn't ask me, you asked maybe 10,000 people you've never met, most of whom don't live in the same town as either of us... Followups redirected to -chat. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 16:15:36 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 783FE16A4CE for ; Sun, 20 Feb 2005 16:15:36 +0000 (GMT) Received: from mail.terralink.de (mail.tlink.de [217.9.16.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2203743D2D for ; Sun, 20 Feb 2005 16:15:36 +0000 (GMT) (envelope-from me@daniel.stefan.haischt.name) Received: from smtp.abyssworld.de (daniel-s-haischt.biz [84.252.66.2]) by mail.terralink.de (Postfix) with ESMTP id 66D8FB8CB; Sun, 20 Feb 2005 17:15:36 +0100 (CET) Received-SPF: none (smtp.abyssworld.de: 192.168.1.6 is neither permitted nor denied by domain of daniel.stefan.haischt.name) client-ip=192.168.1.6; envelope-from=me@daniel.stefan.haischt.name; helo=[192.168.120.239]; Received: from [192.168.120.239] (smtp.abyssworld.de [192.168.1.6]) by smtp.abyssworld.de (Postfix) with ESMTP id 45A2C1700F; Sun, 20 Feb 2005 17:15:23 +0100 (CET) Message-ID: <4218B798.3030506@daniel.stefan.haischt.name> Date: Sun, 20 Feb 2005 17:15:20 +0100 From: "Daniel S. Haischt" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Gert Cuykens References: <5b8472dd5925a0b0b59f15cd9f8e15f3@shire.net> <675354920.20050220001731@wanadoo.fr> <20050220124749.GA523@tuatara.fishballoon.org> In-Reply-To: X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Processed-By: GNU Anubis v4.0 X-Purified-With: DSPAM, Clam AntiVirus cc: Scott Mitchell cc: freebsd-questions@freebsd.org Subject: Re: c++ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: me@daniel.stefan.haischt.name List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 16:15:36 -0000 Gert Cuykens, Gert Cuykens schrieb: [SNIP] > > PS Freebsd source is c++ right ? So you could also call this the free > c++ question mailing list :) No wrong! Most Unices are written in C (kernel, device drivers etc.). Basically, you sould get to an understanding that your questions about GTK, and the source code snippet that you did post, were not related to C++. Those code snippets are C code. Or why do you think that there is a need for a GTK C++ wrapper such as www.gtkmm.org which wrapps the GTK C API? Frankly my impression was that your understanding of C is almost nonexistent, which is the reason why so many people did sugest to get a basic C knowledge before coding a GTK app. So you *should* consider the 'Get a C book, to learn some C basics (like what is a pointer?)' answer to be a real option. -- Mit freundlichen Gruessen / With kind regards DAn.I.El S. Haischt Want a complete signature??? Type at a shell prompt: $ > finger -l haischt@daniel.stefan.haischt.name From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 16:18:56 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B311016A4CE for ; Sun, 20 Feb 2005 16:18:56 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C95A43D1D for ; Sun, 20 Feb 2005 16:18:56 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from localhost (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by internet.potentialtech.com (Postfix) with ESMTP id 4376969A71; Sun, 20 Feb 2005 11:18:55 -0500 (EST) Date: Sun, 20 Feb 2005 11:18:54 -0500 From: Bill Moran To: Gert Cuykens Message-Id: <20050220111854.191e5b81.wmoran@potentialtech.com> In-Reply-To: References: <5b8472dd5925a0b0b59f15cd9f8e15f3@shire.net> <675354920.20050220001731@wanadoo.fr> <20050220124749.GA523@tuatara.fishballoon.org> Organization: Potential Technologies X-Mailer: Sylpheed version 1.0.0rc (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Sun__20_Feb_2005_11_18_54_-0500_BHg4Z95QoPU=q5OJ" cc: freebsd-questions@freebsd.org Subject: Re: c++ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 16:18:56 -0000 --Signature=_Sun__20_Feb_2005_11_18_54_-0500_BHg4Z95QoPU=q5OJ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit Gert Cuykens wrote: > PS Freebsd source is c++ right ? So you could also call this the free > c++ question mailing list :) No and no. > Also about all the get a c++ book comments, i tryed that once but when > i ask the book a question, it doesnt say anything back. It only makes > noises when you flaper the pages trough the wind. That's very funny. Perhaps you should be a comedian instead of a programmer. > By the way if somebody passing your street asking for direction you > dont answer get a map either right ? Those responses are NOT rude, as you seem to imply. The simple fact is that your question indicates that you are lacking some _basic_ knowledge required to understand C++ coding. The response is an hostest attempt to make you understand that your _BEST_ course of action at this level of learning is to get a good book and read it. Personally, I recommend _The_C_Programming_Language_ by Kernighan and Richie. It's an excellent read. We could be very careless and just _tell_ you the answer, but we're better people than that. We recognize the level of learning that you're at (because we've all been there) and are attempting to help you along. -- Bill Moran Potential Technologies http://www.potentialtech.com --Signature=_Sun__20_Feb_2005_11_18_54_-0500_BHg4Z95QoPU=q5OJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCGLhuYOm/CGAEZUARAi9pAKCub6SZSzRttpd3wmtX4/1U3faeggCgwm+y 0HFzZdX+XEkdQLtu0WvglzU= =Hcr3 -----END PGP SIGNATURE----- --Signature=_Sun__20_Feb_2005_11_18_54_-0500_BHg4Z95QoPU=q5OJ-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 16:21:18 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C42316A4CE for ; Sun, 20 Feb 2005 16:21:18 +0000 (GMT) Received: from smtphost.cis.strath.ac.uk (smtphost.cis.strath.ac.uk [130.159.196.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BBFE43D49 for ; Sun, 20 Feb 2005 16:21:17 +0000 (GMT) (envelope-from chodgins@cis.strath.ac.uk) Received: from [192.168.0.4] (chrishodgins.force9.co.uk [84.92.20.141]) j1KGJoWu023336; Sun, 20 Feb 2005 16:19:50 GMT Message-ID: <4218B9D6.8060100@cis.strath.ac.uk> Date: Sun, 20 Feb 2005 16:24:54 +0000 From: Chris Hodgins User-Agent: Mozilla Thunderbird 1.0 (X11/20050204) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gert Cuykens References: <5b8472dd5925a0b0b59f15cd9f8e15f3@shire.net> <675354920.20050220001731@wanadoo.fr> <20050220124749.GA523@tuatara.fishballoon.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CIS-MailScanner-Information: Please contact support@cis.strath.ac.uk for more information X-CIS-MailScanner: Found to be clean X-CIS-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 6) X-CIS-MailScanner-From: chodgins@cis.strath.ac.uk cc: Scott Mitchell cc: freebsd-questions@freebsd.org Subject: Re: c++ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 16:21:18 -0000 Gert Cuykens wrote: > On Sun, 20 Feb 2005 12:47:50 +0000, Scott Mitchell > wrote: > >>On Sun, Feb 20, 2005 at 08:41:30AM +0100, Gert Cuykens wrote: >> >>>So if data is declared as a gchar *data; for example, then the value >>>of data is a memory adress right ? So if A=data; and B=&data; then A >>>and B are exactly the same result right ? >> >>No. A is a 'pointer to gchar' (or gchar*) and B is a 'pointer to pointer >>to gchar' (or gchar**). The '&data' syntax means 'the address of the data >>variable', ie. the address of a gchar*, whereas data itself contains the >>address of a gchar. >> >> >>>Now why would anybody want a gchar when a integer is needed ? That is >>>just making it more complicated then it already is? >> >>Because the code in question deals with gchars (whatever they are) not >>integers? They won't necessarily be the same thing on different >>architectures, or even different compilers on the same architecture. Also, >>the type is called 'gchar' presumably because it logically holds some kind >>of character data, whereas an integer variable holds an integer. Calling >>them different things in the code helps to make it clear what the >>programmer's intention is, even if the two types happen to have the same >>representation on a given machine/compiler. >> >>In any case, this stuff really has nothing to do with FreeBSD - you should >>be asking these questions in a C/C++ programming group. >> >>Cheers, >> >> Scott >> >>-- > > > Thx i think i understand now :) > > PS Freebsd source is c++ right ? So you could also call this the free > c++ question mailing list :) No. FreeBSD is written in C. This is surely a mailing list for people who want to ask and answer questions about the FreeBSD Operating System. > > Also about all the get a c++ book comments, i tryed that once but when > i ask the book a question, it doesnt say anything back. It only makes > noises when you flaper the pages trough the wind. > > By the way if somebody passing your street asking for direction you > dont answer get a map either right ? > This is more like somebody passing your street asking for directions to a street in another country. Both comp.lang.c and comp.lang.c++ are both pretty intolerant to people asking basic questions which are heavily documented in the FAQs for the newsgroups. They generally expect you to have at least tried to understand what you are doing before asking a question. If you had tried to understand your problem and looked at the faqs you would have found an amazing amount of information on what you are after. Before you do anything else you should now go read http://www.eskimo.com/~scs/C-faq/top.html and educate yourself a bit more about C. People are not trying to be unhelpful when the tell you to RTFM or read a book. They are trying to point out areas of knowledge that you can reference to gain more insight into your problem. Noone is just going to do your homework for you. Good luck learning about C. Chris From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 16:56:45 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD05716A4CE for ; Sun, 20 Feb 2005 16:56:45 +0000 (GMT) Received: from relay.pair.com (relay00.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 2823843D1F for ; Sun, 20 Feb 2005 16:56:45 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 67300 invoked from network); 20 Feb 2005 16:56:44 -0000 Received: from unknown (HELO ale.varnet.bsd) (unknown) by unknown with SMTP; 20 Feb 2005 16:56:44 -0000 X-pair-Authenticated: 200.115.214.206 Date: Sun, 20 Feb 2005 13:57:17 -0300 From: Alejandro Pulver To: freebsd-questions Message-ID: <20050220135717.27ab6a75@ale.varnet.bsd> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Shell file completion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 16:56:46 -0000 Hello, I was learning regular expressions, and I noticed that the shell has something similar (but it is different from regular expressions). When I type 'echo *', it replaces '*' for all the files/dirs not starting with a '.' (dot). I understand the '*' in regular expressions must be preceded by other thing to match it. So it is behaving like the DOS wildcards. Where is it documented? Thanks and Best Regards, Ale From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 17:20:03 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A952716A4CE for ; Sun, 20 Feb 2005 17:20:03 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E1DA43D2F for ; Sun, 20 Feb 2005 17:20:03 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from localhost (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by internet.potentialtech.com (Postfix) with ESMTP id 81A7569A42; Sun, 20 Feb 2005 12:20:02 -0500 (EST) Date: Sun, 20 Feb 2005 12:20:01 -0500 From: Bill Moran To: Alejandro Pulver Message-Id: <20050220122001.5af0685e.wmoran@potentialtech.com> In-Reply-To: <20050220135717.27ab6a75@ale.varnet.bsd> References: <20050220135717.27ab6a75@ale.varnet.bsd> Organization: Potential Technologies X-Mailer: Sylpheed version 1.0.0rc (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Sun__20_Feb_2005_12_20_01_-0500_.a9M+=juCS4WdHW/" cc: freebsd-questions@freebsd.org Subject: Re: Shell file completion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 17:20:03 -0000 --Signature=_Sun__20_Feb_2005_12_20_01_-0500_.a9M+=juCS4WdHW/ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit [Please wrap your lines around 72 chars or so] Alejandro Pulver wrote: > Hello, > > I was learning regular expressions, and I noticed that the shell has > something similar (but it is different from regular expressions). > > When I type 'echo *', it replaces '*' for all the files/dirs not starting > with a '.' (dot). > > I understand the '*' in regular expressions must be preceded by other > thing to match it. > > So it is behaving like the DOS wildcards. That's funny. More like "DOS wildcards seem to mimic this". > Where is it documented? 'man sh' - the section on "Shell Patterns". -- Bill Moran Potential Technologies http://www.potentialtech.com --Signature=_Sun__20_Feb_2005_12_20_01_-0500_.a9M+=juCS4WdHW/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCGMbBYOm/CGAEZUARAo7QAJ9oqeSdVhq5BrI0fSRWE+jdwXTvugCgqYGj VnAHorfi1PoMLb5yfyHWvW0= =kiqf -----END PGP SIGNATURE----- --Signature=_Sun__20_Feb_2005_12_20_01_-0500_.a9M+=juCS4WdHW/-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 17:38:50 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FF2916A4CE for ; Sun, 20 Feb 2005 17:38:50 +0000 (GMT) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.FreeBSD.org (Postfix) with SMTP id 8A30843D41 for ; Sun, 20 Feb 2005 17:38:49 +0000 (GMT) (envelope-from dkelly@HiWAAY.net) Received: (qmail 3658 invoked by uid 0); 20 Feb 2005 17:38:48 -0000 Received: from user-69-73-60-132.knology.net (HELO ?10.0.0.68?) (69.73.60.132) by smtp2.knology.net with SMTP; 20 Feb 2005 17:38:48 -0000 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <2a7578f3acbfc506ae88de3cc414cb5e@HiWAAY.net> Content-Transfer-Encoding: 7bit From: David Kelly Date: Sun, 20 Feb 2005 11:38:45 -0600 To: FreeBSD Questions X-Mailer: Apple Mail (2.619.2) Subject: Re: What do you use to burn things ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 17:38:50 -0000 On Feb 20, 2005, at 3:54 AM, Gert Cuykens wrote: > On Sun, 20 Feb 2005 10:41:59 +0100, Gert Cuykens > wrote: >> How do you burn a iso file for example ? >> > > What does this mean ? > > I# burncd -f /dev/acd0 -s max data /root/Desktop/memtest86-3.2.iso > fixate > next writeable LBA 581 > writing from file /root/Desktop/memtest86-3.2.iso size 1794 KB > > only wrote -1 of 32768 bytes: Input/output error > > fixating CD, please wait.. > burncd: ioctl(CDRIOCFIXATE): Input/output error Looks like the result I had when attempting to write a DVD-R with burncd. My drive is a: acd0: DVDR at ata1-master UDMA33 The media was ruined in the above attempt but growisofs worked. Tried writing to the author of cdrecord, followed his instructions to the letter because his published freeware key to enable DVD did not work. Suspect it didn't like the "5.3" part of FreeBSD. Never heard back. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 17:40:47 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 788A016A4CF for ; Sun, 20 Feb 2005 17:40:47 +0000 (GMT) Received: from inMail.sk (mail2.inmail.sk [62.168.63.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BED043D3F for ; Sun, 20 Feb 2005 17:40:46 +0000 (GMT) (envelope-from err0rc0de@inMail.sk) Received: from 217.119.116.34 [62.168.63.109] by inMail.sk (SMTPD32-8.04) id AC6B14500E8; Sun, 20 Feb 2005 18:44:11 +0100 From: "****** ******" To: Cc: MIME-Version: 1.0 X-Mailer: inMail 4.0 Web Interface X-Priority: 3 X-Origin-IP: 217.119.116.34 Content-Type: text/plain; charset="WINDOWS-1250" Content-Transfer-Encoding: quoted-printable Message-Id: <200502201844515.SM01928@217.119.116.34> X-Sender: X-Country: CZ; Czech Republic Date: Sun, 20 Feb 2005 18:44:14 Subject: problem with sharing internet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 17:40:47 -0000 good day=2E=2Ei have 5=2E2=2E1-RELEASE FreeBSD and a problem with s= haring internet to win98=2C freebsd is a gateway=2E=2Ea i have 2 NI= C=2C fxp0 is a gateway for w98=2E=2E=2E=2Ea had before slackware 1= 0=2E0 and over there wasn't problem with iptables=2E=2Ei need confi= gure correctly ipfw=2C maybe=2E=2E=2E=2Emy configuration=3A sis0= =3A flags=3D8843=3CUP=2CBROADCAST=2CRUNNING=2CSIMPLEX=2CMULTICAST=3E= mtu 1500 inet 192=2E168=2E240=2E60 netmask 0xffffff00 br= oadcast 192=2E168=2E240=2E255 inet6 fe80=3A=3A20b=3A6aff=3A= feac=3A5d6d%sis0 prefixlen 64 scopeid 0x1 ether 00=3A0b=3A= 6a=3Aac=3A5d=3A6d media=3A Ethernet 10baseT=2FUTP = status=3A active fxp0=3A flags=3D8843=3CUP=2CBROADCAST=2CRUNNING= =2CSIMPLEX=2CMULTICAST=3E mtu 1500 inet6 fe80=3A=3A290=3A= 27ff=3Afe2f=3A203e%fxp0 prefixlen 64 scopeid 0x2 inet 192= =2E168=2E0=2E1 netmask 0xffffff00 broadcast 192=2E168=2E0=2E255 = ether 00=3A90=3A27=3A2f=3A20=3A3e media=3A Ethernet= autoselect =28none=29 status=3A no carrier home# ps -= ax |grep natd 1245 =3F=3F Is 0=3A00=2E00 natd -n fxp0 126= 1 p0 R+ 0=3A00=2E00 grep natd home# ipfw list 00050 dive= rt 8668 ip from any to any via fxp0 00100 allow ip from any to an= y via lo0 00200 deny ip from any to 127=2E0=2E0=2E0=2F8 00300 de= ny ip from 127=2E0=2E0=2E0=2F8 to any 65000 allow ip from any to = any 65535 deny ip from any to any thanks ---------- * www=2EinMail=2Esk - Vasa emailova adresa na cely = zivot ZDARMA * Zoner Photo Studio 7 - Spoznajte kuzlo digitalnej f= otografie! http=3A=2F=2Fwww=2Ezoner=2Ecz=2Fphoto-studio * www=2ESl= ovakNET=2Esk - profesionalny webhosting=2C domena =2ESK ZADARMO From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 17:47:07 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 266E816A4CE for ; Sun, 20 Feb 2005 17:47:07 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C78C43D1D for ; Sun, 20 Feb 2005 17:47:06 +0000 (GMT) (envelope-from normal1.lists@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so748734wri for ; Sun, 20 Feb 2005 09:47:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=oldKJ9SpUCOzAFJFkfCbsXsv8rtHn+AEtRW+yp/i7uWiizxHHzlU5Sz/ZkEEzM6rSPkNBp38cbCoF4nBVhxybU1U/dm4j6zWxqilma4Ngd5CMan4dOwqFG3jEJDYhtae4r5EBVk3uot2okH3YwotQb9UQVGhw8rCUvHaFG363wo= Received: by 10.54.27.7 with SMTP id a7mr254461wra; Sun, 20 Feb 2005 09:47:02 -0800 (PST) Received: by 10.54.2.45 with HTTP; Sun, 20 Feb 2005 09:47:01 -0800 (PST) Message-ID: Date: Sun, 20 Feb 2005 09:47:01 -0800 From: gabriel To: freebsd-questions Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: qmail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gabriel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 17:47:07 -0000 Ok, well I installed qmail and all that jazz through Matt's Mail toaster. Everything appeared to have been installed without any problems, obviously some tweaking had to be done to customize the installation but nothing major. At this point, my only problem appears to be the from address that its used when sending the daily run output - i.e. its sending from root@somedomianIdontknow.com as opposed to root@mydomain or at least localhost which would be just fine. Has anyone got any experience with this? I just need to know where to change that darned from address. I'd hate to have to reinstall the toaster _again_ :( Cheers! -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 17:55:35 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D16D716A4CE for ; Sun, 20 Feb 2005 17:55:35 +0000 (GMT) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63E8F43D53 for ; Sun, 20 Feb 2005 17:55:35 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from ringworm.mechee.com ([4.26.84.7])0.04 <0IC3003XQKTQOS80@vms044.mailsrvcs.net> for freebsd-questions@freebsd.org; Fri, 18 Feb 2005 01:58:39 -0600 (CST) Received: by ringworm.mechee.com (Postfix, from userid 1001) id 42F492CE7D2; Thu, 17 Feb 2005 23:54:19 -0800 (PST) Date: Thu, 17 Feb 2005 23:54:16 -0800 From: "Michael C. Shultz" In-reply-to: <42159B2C.3000000@ant.uni-bremen.de> To: freebsd-questions@freebsd.org, Heinrich Rebehn Message-id: <200502172354.17303.ringworm01@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <421467C0.9060801@ant.uni-bremen.de> <42159B2C.3000000@ant.uni-bremen.de> User-Agent: KMail/1.7.2 Subject: Re: Annoying ports problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ringworm01@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 17:55:35 -0000 On Thursday 17 February 2005 11:37 pm, Heinrich Rebehn wrote: > Eric Kjeldergaard wrote: > > On Thu, 17 Feb 2005 10:45:36 +0100, Heinrich Rebehn > > > > wrote: > >>Hi list, > >> > >>I have run into an annoying problem several times when upgrading > >> ports. > >> > >>Say, if i want to upgrade gstreamer-plugins, i do: > >> > >># cd /usr/ports/multimedia/gstreamer-plugins > >># make > >> > >>This pulls in some dependencies, for example gnomevfs2. gnnomevfs2 > >> will compile fine, but then stops because it wants to install > >> gnomevfs2 instead of reinstalling it: > >> > >>===> An older version of devel/gnomevfs2 is already installed > >>(gnomevfs2-2.9.91) > >> You may wish to ``make deinstall'' and install this port > >> again by ``make reinstall'' to upgrade it properly. > >> If you really wish to overwrite the old port of > >> devel/gnomevfs2 without deleting it first, set the variable > >> "FORCE_PKG_REGISTER" in your environment or the "make install" > >> command line. *** Error code 1 > >> > >>Since i have run into this several times, i must be missing > >> something substantial. What is it? > > > > Just "make" will make the program and try to install it as if it > > were the first time. When it detects the older version, it will > > want you to do "make deinstall && make reinstall". For upgrading > > ports, you may want to look at /usr/ports/sysutils/portupgrade. > > It makes no difference wether i use "make" or "portupgrade". As soon > as ether of them decide that another package that the make candidate > depends on, has to be upgraded, the error occurs with that package. Have you tried upgrading using sysutils/portmanager yet? -Mike From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 18:05:11 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15B6116A4CE for ; Sun, 20 Feb 2005 18:05:11 +0000 (GMT) Received: from osiris.email.starband.net (osiris.email.starband.net [148.78.247.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F04843D1F for ; Sun, 20 Feb 2005 18:05:10 +0000 (GMT) (envelope-from scottclansman@cwazy.co.uk) Received: from [192.168.0.2] (vsat-148-63-97-60.c002.t7.mrt.starband.net [148.63.97.60])j1KI52S9024890 for ; Sun, 20 Feb 2005 13:05:04 -0500 Message-ID: <421A21F4.1050509@cwazy.co.uk> Date: Mon, 21 Feb 2005 12:01:24 -0600 From: SigmaX User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/704/Thu Feb 10 06:37:18 2005 clamav-milter version 0.80j on osiris X-Virus-Status: Clean Subject: IPFW config X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 18:05:11 -0000 Heya; I have a FreeBSD 5.3 server that I access over SSH. I followed the handbook guide to loading the ipfw kernel module to setup a firewall. I made the mistake the other day of loading the firewall, which defaults to block all, and rebooting, so I couldn't get into the system again (Had to drive in and fix it :-P). Anyway, what I need to know is how to edit the ruleset manually BEFORE enabling the firewall. I need to set the rules, then load the kernel module, not vise versa. I've never dealt with ipfw without webmin, so I need some explicit answers :-). What I need to do its this: Set IPFW to allow traffic on ports 80, 10000, and 23 (That's the default SSH port, right?) Then start IPFW with the kernel module (I know how to do this) Thanx, SigmaX -- Registered Linux Freak #: 366,862 "If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby Pro-Logic Surround Sound with Bass Boost and all the music is free." From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 18:20:05 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFC2816A4CF for ; Sun, 20 Feb 2005 18:20:05 +0000 (GMT) Received: from smtphost.cis.strath.ac.uk (smtphost.cis.strath.ac.uk [130.159.196.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCF1643D2D for ; Sun, 20 Feb 2005 18:20:04 +0000 (GMT) (envelope-from chodgins@cis.strath.ac.uk) Received: from [192.168.0.4] (chrishodgins.force9.co.uk [84.92.20.141]) j1KIJnWu027685; Sun, 20 Feb 2005 18:19:50 GMT Message-ID: <4218D5F6.3070803@cis.strath.ac.uk> Date: Sun, 20 Feb 2005 18:24:54 +0000 From: Chris Hodgins User-Agent: Mozilla Thunderbird 1.0 (X11/20050204) X-Accept-Language: en-us, en MIME-Version: 1.0 To: SigmaX References: <421A21F4.1050509@cwazy.co.uk> In-Reply-To: <421A21F4.1050509@cwazy.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CIS-MailScanner-Information: Please contact support@cis.strath.ac.uk for more information X-CIS-MailScanner: Found to be clean X-CIS-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 6) X-CIS-MailScanner-From: chodgins@cis.strath.ac.uk cc: freebsd-questions@freebsd.org Subject: Re: IPFW config X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 18:20:05 -0000 SigmaX wrote: > Heya; > I have a FreeBSD 5.3 server that I access over SSH. I followed the > handbook guide to loading the ipfw kernel module to setup a firewall. I > made the mistake the other day of loading the firewall, which defaults > to block all, and rebooting, so I couldn't get into the system again > (Had to drive in and fix it :-P). Anyway, what I need to know is how to > edit the ruleset manually BEFORE enabling the firewall. I need to set > the rules, then load the kernel module, not vise versa. I've never > dealt with ipfw without webmin, so I need some explicit answers :-). > What I need to do its this: > > Set IPFW to allow traffic on ports 80, 10000, and 23 (That's the default > SSH port, right?) > Then start IPFW with the kernel module (I know how to do this) > > Thanx, > SigmaX > You can put your rules in /etc/rc.firewall. This is executed at startup. See rc(8) and rc.conf(5). Chris From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 18:24:17 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D9D816A501 for ; Sun, 20 Feb 2005 18:24:17 +0000 (GMT) Received: from pd3mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDA4B43D48 for ; Sun, 20 Feb 2005 18:24:16 +0000 (GMT) (envelope-from chris@dawgiestyle.com) Received: from pd4mr3so.prod.shaw.ca (pd4mr3so-qfe3.prod.shaw.ca [10.0.141.214]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IC800BZD34GK8B0@l-daemon> for freebsd-questions@freebsd.org; Sun, 20 Feb 2005 11:24:16 -0700 (MST) Received: from pn2ml6so.prod.shaw.ca ([10.0.121.150]) by pd4mr3so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IC8003UK34GLU40@pd4mr3so.prod.shaw.ca> for freebsd-questions@freebsd.org; Sun, 20 Feb 2005 11:24:16 -0700 (MST) Received: from server.dawgiestyle.lan (S01060080c8d67c9e.ed.shawcable.net [68.148.128.53])2003)) freebsd-questions@freebsd.org; Sun, 20 Feb 2005 11:24:16 -0700 (MST) Received: (qmail 30265 invoked by uid 1022); Sun, 20 Feb 2005 18:24:16 +0000 Received: from 192.168.1.101 by server.dawgiestyle.lan (envelope-from , uid 82)Clear:RC:1 (192.168.1.101):. Processed in 0.067136 secs); Sun, 20 Feb 2005 18:24:16 +0000 Received: from unknown (HELO ?192.168.1.101?) (192.168.1.101) by server.dawgiestyle.lan with SMTP; Sun, 20 Feb 2005 18:24:15 +0000 Date: Sun, 20 Feb 2005 11:24:15 -0700 From: Chris Warren In-reply-to: To: gabriel Message-id: <4218D5CF.5050509@dawgiestyle.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en X-Qmail-Scanner-Mail-From: chris@dawgiestyle.com via server.dawgiestyle.lan X-Qmail-Scanner: 1.24 (Clear:RC:1(192.168.1.101):. Processed in 0.067136 secs) X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime References: User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) cc: freebsd-questions Subject: Re: qmail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 18:24:17 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I believe this is done in your /var/qmail/control/defaultdomain and /var/qmail/control/defaulthost files. In fact, check through all the files in the control dir to make sure they are right. Chris gabriel wrote: | Ok, well I installed qmail and all that jazz through Matt's Mail | toaster. Everything appeared to have been installed without any | problems, obviously some tweaking had to be done to customize the | installation but nothing major. At this point, my only problem | appears to be the from address that its used when sending the daily | run output - i.e. its sending from root@somedomianIdontknow.com as | opposed to root@mydomain or at least localhost which would be just | fine. | | Has anyone got any experience with this? I just need to know where | to change that darned from address. I'd hate to have to reinstall | the toaster _again_ :( | | Cheers! | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCGNXP5oLdYlMF6RsRAq4GAJ9HHZ50pMnQbbkaQvimQtPD+9gPpgCfQn/j F9wAHfydetkYwQPMAGiODkM= =mJdI -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 18:35:51 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9168B16A4CE for ; Sun, 20 Feb 2005 18:35:51 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24BE643D54 for ; Sun, 20 Feb 2005 18:35:51 +0000 (GMT) (envelope-from normal1.lists@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so753612wri for ; Sun, 20 Feb 2005 10:35:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=gBeO0k/aoSaX0mloZYdMLbFCS06wQ8TMOznIhr2k0QU273ts9SwpA6w7tezN5AMcQoJqFyEp99sRrbnl3vlZooYEegZOsoXexpGWDJ+OTYccJjfVvwwjxruGssAHXiQrJL2yq67+X709TDxa9+RBhZwoF1lZxuKDsw+YMvKGoMY= Received: by 10.54.44.50 with SMTP id r50mr181522wrr; Sun, 20 Feb 2005 10:35:49 -0800 (PST) Received: by 10.54.2.45 with HTTP; Sun, 20 Feb 2005 10:35:48 -0800 (PST) Message-ID: Date: Sun, 20 Feb 2005 10:35:48 -0800 From: gabriel To: Chris Warren In-Reply-To: <4218D5CF.5050509@dawgiestyle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <4218D5CF.5050509@dawgiestyle.com> cc: freebsd-questions Subject: Re: qmail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gabriel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 18:35:51 -0000 I did actually, it USED to have somedomain.com in a lot of the files but I changed them to the actual domain. Should they be the mail server's host or the domain? On Sun, 20 Feb 2005 11:24:15 -0700, Chris Warren wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I believe this is done in your /var/qmail/control/defaultdomain and > /var/qmail/control/defaulthost files. > In fact, check through all the files in the control dir to make sure > they are right. > > Chris > > gabriel wrote: > > | Ok, well I installed qmail and all that jazz through Matt's Mail > | toaster. Everything appeared to have been installed without any > | problems, obviously some tweaking had to be done to customize the > | installation but nothing major. At this point, my only problem > | appears to be the from address that its used when sending the daily > | run output - i.e. its sending from root@somedomianIdontknow.com as > | opposed to root@mydomain or at least localhost which would be just > | fine. > | > | Has anyone got any experience with this? I just need to know where > | to change that darned from address. I'd hate to have to reinstall > | the toaster _again_ :( > | > | Cheers! > | > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.5 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFCGNXP5oLdYlMF6RsRAq4GAJ9HHZ50pMnQbbkaQvimQtPD+9gPpgCfQn/j > F9wAHfydetkYwQPMAGiODkM= > =mJdI > -----END PGP SIGNATURE----- > > -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 18:36:07 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F88616A4CE for ; Sun, 20 Feb 2005 18:36:07 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 6653143D41 for ; Sun, 20 Feb 2005 18:36:06 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 20 Feb 2005 18:36:05 -0000 Received: from unknown (EHLO zi025.glhnet.mhn.de) (129.187.19.157) by mail.gmx.net (mp015) with SMTP; 20 Feb 2005 19:36:05 +0100 X-Authenticated: #147403 Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id DB872C282; Sun, 20 Feb 2005 19:36:24 +0100 (CET) Date: Sun, 20 Feb 2005 19:36:24 +0100 From: Simon Barner To: SigmaX Message-ID: <20050220183624.GG51280@zi025.glhnet.mhn.de> References: <421A21F4.1050509@cwazy.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hTiIB9CRvBOLTyqY" Content-Disposition: inline In-Reply-To: <421A21F4.1050509@cwazy.co.uk> User-Agent: Mutt/1.5.8i X-Y-GMX-Trusted: 0 cc: freebsd-questions@freebsd.org Subject: Re: IPFW config X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 18:36:07 -0000 --hTiIB9CRvBOLTyqY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Set IPFW to allow traffic on ports 80, 10000, and 23 (That's the default= =20 > SSH port, right?) Nope, it's 22. > Then start IPFW with the kernel module (I know how to do this) Have you already read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.ht= ml? It describes how to enable ipfw in rc.conf, and how to specify a firewall script that loads the rules during the boot process. Suppose, your fw script is /etc/ipfw.rules. Then the following should (no warranty, of course ;-) load your rules without a reboot: # kldload ipfw.ko && sh /etc/ipfw.rules Simon --hTiIB9CRvBOLTyqY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCGNioCkn+/eutqCoRAqcLAKCKbqciZbYfXIKv/gC9Sz5HoWSPgQCgsX9w 3tHHhCnEGN4ntAZVZ8mdGTI= =X5z6 -----END PGP SIGNATURE----- --hTiIB9CRvBOLTyqY-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 18:42:42 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DBD616A4CE for ; Sun, 20 Feb 2005 18:42:42 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A80D43D49 for ; Sun, 20 Feb 2005 18:42:42 +0000 (GMT) (envelope-from pergesu@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so754342wri for ; Sun, 20 Feb 2005 10:42:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=jPSYkTOJfNkr0OJ5XwKpFcmW3FFCih5R5I2XdF18Z7fvTpseojngsTtl8Yw6ZzuuiquzU3mmkTx4wNi7h2vE4oM4FIy0Jwqf0OWdjWz0eMP70XiNvRq+hI6dlidurZN+iAdP39nwICXE7QTMLfW0QsUbZ72UbW3eDx65/F0MIPM= Received: by 10.54.56.1 with SMTP id e1mr194249wra; Sun, 20 Feb 2005 10:42:41 -0800 (PST) Received: by 10.54.42.28 with HTTP; Sun, 20 Feb 2005 10:42:41 -0800 (PST) Message-ID: <810a540e05022010423f076b4c@mail.gmail.com> Date: Sun, 20 Feb 2005 11:42:41 -0700 From: Pat Maddox To: "Loren M. Lang" In-Reply-To: <20050220142339.GD4471@alzatex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <810a540e050214203221952797@mail.gmail.com> <20050220142339.GD4471@alzatex.com> cc: freebsd-questions@freebsd.org Subject: Re: Configuring PF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pat Maddox List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 18:42:42 -0000 On Sun, 20 Feb 2005 06:23:39 -0800, Loren M. Lang wrote: > On Mon, Feb 14, 2005 at 09:32:25PM -0700, Pat Maddox wrote: > > I want to install a firewall on my system. First of all, is PF the > > one I should be using? It seems to get the most recommendations. > > > > I don't actually seem to have any problems configuring it - I just > > have some problems testing the configuration. I can ssh to the box, > > and I can access port 80...but I'd like to be able to just scan it to > > quickly see what's up. When PF is disabled, I can nmap it in about 9 > > seconds. When I turn it on, it takes over 3 minutes to do. These > > machines are on the same network, so the connection is obviously fast. > > This is a good thing, IMHO. Think about all those script kiddies > sitting out there looking for a nice, juicy server to compromise. If it > takes them 3 minutes to port scan your machine, they'll probably cancel > it before it's finished and move on. That makes sense to me. I'd still like to be able to scan it the first time around to make sure everything's working, then I can just set it to drop packets, so it takes longer. I'd still like to find a good example config file that works well for a web server. > > I believe what's happening is that all ports that aren't open are > configured to drop packets instead of reject them like is default. > Reject means send back an error message saying port is closed where > dropping just ignores it. The port scanner sends out a request and > waits for a response, either "Hello," or "Sorry, I'm closed." It will > wait quite a while before it decides that nothings there. > > > > > Are there any good, pretty simple guides on setting up PF? I'm having > > a tough time understanding what the rulesets all mean. > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > -- > I sense much NT in you. > NT leads to Bluescreen. > Bluescreen leads to downtime. > Downtime leads to suffering. > NT is the path to the darkside. > Powerful Unix is. > > Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc > Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C > > From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 18:47:38 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 786CE16A4CE for ; Sun, 20 Feb 2005 18:47:38 +0000 (GMT) Received: from pd2mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2993E43D1D for ; Sun, 20 Feb 2005 18:47:38 +0000 (GMT) (envelope-from chris@dawgiestyle.com) Received: from pd3mr3so.prod.shaw.ca (pd3mr3so-qfe3.prod.shaw.ca [10.0.141.179]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IC8004UG47DD1C0@l-daemon> for freebsd-questions@freebsd.org; Sun, 20 Feb 2005 11:47:37 -0700 (MST) Received: from pn2ml6so.prod.shaw.ca ([10.0.121.150]) by pd3mr3so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IC800AKH47D5Y80@pd3mr3so.prod.shaw.ca> for freebsd-questions@freebsd.org; Sun, 20 Feb 2005 11:47:37 -0700 (MST) Received: from server.dawgiestyle.lan (S01060080c8d67c9e.ed.shawcable.net [68.148.128.53])2003)) freebsd-questions@freebsd.org; Sun, 20 Feb 2005 11:47:37 -0700 (MST) Received: (qmail 30626 invoked by uid 1022); Sun, 20 Feb 2005 18:47:37 +0000 Received: from 192.168.1.101 by server.dawgiestyle.lan (envelope-from , uid 82)Clear:RC:1 (192.168.1.101):. Processed in 0.070388 secs); Sun, 20 Feb 2005 18:47:37 +0000 Received: from unknown (HELO ?192.168.1.101?) (192.168.1.101) by server.dawgiestyle.lan with SMTP; Sun, 20 Feb 2005 18:47:36 +0000 Date: Sun, 20 Feb 2005 11:47:36 -0700 From: Chris Warren