From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 00:10:11 2004 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 16EE316A4CE; Sun, 18 Jan 2004 00:10:11 -0800 (PST) Received: from nezlok.unixathome.org (nezlok.unixathome.org [66.154.97.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D46D43D4C; Sun, 18 Jan 2004 00:10:10 -0800 (PST) (envelope-from dan@nezlok.unixathome.org) Received: from localhost (localhost [127.0.0.1]) by nezlok.unixathome.org (Postfix) with ESMTP id 9EEB0AE062; Sun, 18 Jan 2004 00:10:05 -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 78264-07; Sun, 18 Jan 2004 00:10:04 -0800 (PST) Received: by nezlok.unixathome.org (Postfix, from userid 1000) id A1E55AE05E; Sun, 18 Jan 2004 00:10:02 -0800 (PST) From: Dan Langille To: freebsd-newbies@freebsd.org, freebsd-questions@freebsd.org Message-Id: <20040118081002.A1E55AE05E@nezlok.unixathome.org> Date: Sun, 18 Jan 2004 00:10:02 -0800 (PST) X-Virus-Scanned: by amavisd-new at unixathome.org Subject: The FreeBSD Diary: 2003-12-28 - 2004-01-17 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, 18 Jan 2004 08:10:11 -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 - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples FreshPorts - http://www.FreshPorts.org/ - the place for ports FreshSource - http://www.FreshSource.org/ - the place for source From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 00:36:49 2004 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 271B016A4CE for ; Sun, 18 Jan 2004 00:36:49 -0800 (PST) Received: from rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 495F643D2F for ; Sun, 18 Jan 2004 00:36:47 -0800 (PST) (envelope-from itetcu@apropo.ro) Received: (qmail 2403 invoked from network); 18 Jan 2004 08:36:45 -0000 Received: from unknown (HELO it.buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 18 Jan 2004 08:36:45 -0000 Date: Sun, 18 Jan 2004 10:38:16 +0200 From: Ion-Mihai Tetcu To: Bob Perry Message-Id: <20040118103816.38fb089d@it.buh.cameradicommercio.ro> In-Reply-To: <400A3A0A.5040708@earthlink.net> References: <400A3A0A.5040708@earthlink.net> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: FreeBSD-Questions Subject: Re: Configuring E-mail Services on a Standalone Wkst 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, 18 Jan 2004 08:36:49 -0000 On Sun, 18 Jan 2004 02:47:22 -0500 Bob Perry wrote: > Hello, > > I have two PCs, an NT 4.0 box and a FreeBSD 4.8 system. I'm connected > to the internet via dial-up (56k modem) and using the mail system found > in Mozilla. I understood that mail services was a natural with FreeBSD > so I thought I would take the opportunity to learn what I could about > setting up a mail server. I've become familiar with SMTP, MUAs, MTAs, > qpopper, and fetchmail Keep up the good work ;) > but it seems like some of the more necessary > components are a static IP address, 24/7 connection, and accurate DNS > information set up on my system. If this an accurate assessment, I may > have to be satisfied setting up my e-mail services for a standalone > workstation because I can't afford a static IP address or 24/7 connection. Hmm, this isn't necessarily true, but because of the spam level this days people tend not to accept messages from servers that do no have static ips and proper dns settings - as many spammers usually fit in this category. > If a full-fledged e-mail server isn't feasible, can I still use software > like sendmail, mutt, qpopper, and fetchmail for a standalone > workstation? Well, yes. You would have to set sendmail to deliver messages through your ISP SMTP server (like you have now this setting in Mozilla). > Do they offer any real advantages over the mail systems > that come with Mozilla, Netscape, etc.? I think they do. You could use your FreeBSD box to: - fetch mail on cron bases for you and your family email accounts (=> lower) - deliver mail on cron bases - pipe the received mail through a spam filter program (I would recommend dspam - mail/dspam) The result will be lower costs and better knowledge ;) -- IOnut Unregistered ;) FreeBSD user From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 00:37:48 2004 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 4D50D16A4CE for ; Sun, 18 Jan 2004 00:37:48 -0800 (PST) Received: from data.multihaven.org (rrcs-midsouth-24-172-21-200.biz.rr.com [24.172.21.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id D764643D2F for ; Sun, 18 Jan 2004 00:37:46 -0800 (PST) (envelope-from jer@multihaven.org) Received: from engineering.multihaven.org (engineering.multihaven.org [192.168.215.2]) by data.multihaven.org (8.12.8p1/8.12.8) with ESMTP id i0I8aQBa000872 for ; Sun, 18 Jan 2004 03:36:26 -0500 (EST) (envelope-from jer@multihaven.org) Message-Id: <6.0.1.1.2.20040118031949.01b247d8@data.multihaven.org> X-Sender: jeremy@data.multihaven.org X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 18 Jan 2004 03:37:09 -0500 To: questions@freebsd.org From: Jer Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: arp messages XXX is on but got reply.../multihoming problem 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, 18 Jan 2004 08:37:48 -0000 Dear all I have a setup as follows. 4.9-REL sis0: inside network 192.168.XXX.XXX xl0: connection to RR commercial via DHCP assigned ip 24.172.21.XXX gateway 24.172.21.219 nat'd rl0: unused What I want to do is plug in an RR home connection to the rl0 interface so rl0 would then look like rl0: connection to RR home via DHCP It got assigned an IP of 66.57.248.XX gateway 66.57.248.1 When I do this I get 1000's of arp: 66.57.248.1 is on rl0 but got reply from 00:07:0d:aa:ec:54 on xl0 and the speed of the xl0 slows to a crawl until I unplug the rl0 NIC how can I do this? The default gateway I want is the commercial account 24.172.21.219 Any ideas?? Thanks From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 00:53:45 2004 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 452D116A4CE for ; Sun, 18 Jan 2004 00:53:45 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B0EC43D55 for ; Sun, 18 Jan 2004 00:53:43 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i0I8rafn077401 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Jan 2004 08:53:36 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i0I8rXbP077400; Sun, 18 Jan 2004 08:53:33 GMT (envelope-from matthew) Date: Sun, 18 Jan 2004 08:53:33 +0000 From: Matthew Seaman To: fbsd_user Message-ID: <20040118085333.GB76768@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , fbsd_user , Roberto Pereyra , freebsd-questions@freebsd.org References: <20040117210107.24240.qmail@operamail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s/l3CgOIzMHHjg/5" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org cc: Roberto Pereyra Subject: Re: usb modems 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, 18 Jan 2004 08:53:45 -0000 --s/l3CgOIzMHHjg/5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 17, 2004 at 07:16:27PM -0500, fbsd_user wrote: > If your usb phone modem is an winmodem it will not work with > FBSD period. Ummm... except for those winmodems using the Lucent LT chipset, where you can install the comms/ltmdm port, or the DSP modem in some IBM Thinkpad models, where you can install the comms/mwavem port. You won't be able to install over such a modem, but you may be able to use it once installed. However, I don't think either of those options will help the original poster. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --s/l3CgOIzMHHjg/5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFACkmNdtESqEQa7a0RAr+9AJ4289eKiW/9fjwziA6Z11QRSCWWXgCffg4n hP20lmKG4e70ORuxmUXa7QM= =z5VI -----END PGP SIGNATURE----- --s/l3CgOIzMHHjg/5-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 01:38:44 2004 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 5798816A4CE for ; Sun, 18 Jan 2004 01:38:44 -0800 (PST) Received: from mail.lphp.org (APastourelles-107-1-6-191.w193-251.abo.wanadoo.fr [193.251.29.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C05E43D46 for ; Sun, 18 Jan 2004 01:38:42 -0800 (PST) (envelope-from ajacoutot@lphp.org) Received: from sta01 (sta01.lphp.local [192.168.0.3]) by mail.lphp.org (8.12.10/8.12.10) with ESMTP id i0I9aW5F044239; Sun, 18 Jan 2004 10:36:32 +0100 (CET) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: Dinesh Nair Date: Sun, 18 Jan 2004 10:36:25 +0100 User-Agent: KMail/1.5.4 References: <20040118131333.I98208-100000@prophet.alphaque.com> In-Reply-To: <20040118131333.I98208-100000@prophet.alphaque.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181036.25534.ajacoutot@lphp.org> cc: FreeBSD-Questions Subject: Re: Loading balancing with more than one ISP. 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, 18 Jan 2004 09:38:44 -0000 On Sunday 18 January 2004 06:15, Dinesh Nair wrote: > you can do this with IPFW's fwd rulesets. > > ipfw add fwd netconnexion1_gw ip from DMZ/netmask to any > ipfw add fwd netconnexion2_gw ip from LAN/netmask to any Well, somehow, this never worked for me yet :( But well, I'll try again on monday :) Thanks. Antoine From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 01:39:59 2004 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 EE50216A4CE for ; Sun, 18 Jan 2004 01:39:58 -0800 (PST) Received: from out004.verizon.net (out004pub.verizon.net [206.46.170.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0E0D43D31 for ; Sun, 18 Jan 2004 01:39:57 -0800 (PST) (envelope-from dvelez502@verizon.net) Received: from outgoing.verizon.net ([192.168.1.5]) by out004.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040118093957.OAAO8186.out004.verizon.net@outgoing.verizon.net> for ; Sun, 18 Jan 2004 03:39:57 -0600 X-Mailer: Openwave WebEngine, version 2.8.12 (webedge20-101-197-20030912) From: To: Date: Sun, 18 Jan 2004 3:39:57 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [192.168.1.5] at Sun, 18 Jan 2004 03:39:57 -0600 Message-Id: <20040118093957.OAAO8186.out004.verizon.net@outgoing.verizon.net> Subject: Does FreeBSD sell How to videos? 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, 18 Jan 2004 09:39:59 -0000 Hello FreeBSD gurus, = = Do you know if FreeBSD sells = video/cdrom training products? = = I surely appreciate your = feedback. = = Thanks = From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 01:40:26 2004 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 4C82816A4CE for ; Sun, 18 Jan 2004 01:40:26 -0800 (PST) Received: from mail.lphp.org (APastourelles-107-1-6-191.w193-251.abo.wanadoo.fr [193.251.29.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7310D43D55 for ; Sun, 18 Jan 2004 01:40:23 -0800 (PST) (envelope-from ajacoutot@lphp.org) Received: from sta01 (sta01.lphp.local [192.168.0.3]) by mail.lphp.org (8.12.10/8.12.10) with ESMTP id i0I9cL5F044267; Sun, 18 Jan 2004 10:38:21 +0100 (CET) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: Dinesh Nair Date: Sun, 18 Jan 2004 10:38:14 +0100 User-Agent: KMail/1.5.4 References: <20040118130036.S98208-100000@prophet.alphaque.com> In-Reply-To: <20040118130036.S98208-100000@prophet.alphaque.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181038.14144.ajacoutot@lphp.org> cc: FreeBSD-Questions Subject: Re: Loading balancing with more than one ISP. 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, 18 Jan 2004 09:40:26 -0000 On Sunday 18 January 2004 06:10, Dinesh Nair wrote: > what i do today is i set the default route to the ISP i am more convinced > off, with static routes of certain large CIDR address blocks going out to > the other ISP. i decided on those large blocks after checking the global > route tables, AS PATH diagrams and experience of link quality. you can do > this by using tools such as the Looking Glass servers, RouteViews.Org and > even Netlantis.org for your situation. i'm not running routed, > zebra/bgpd/ospfd on this at all, since it's all static routes and i can't > find an ISP ospf/bgp router willing to exchange routes with me. Same for me... Anyway, thanks for the explanation :) I really appreciated. Antoine From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 01:50:12 2004 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 E59EF16A4CE for ; Sun, 18 Jan 2004 01:50:12 -0800 (PST) Received: from smtp11.singnet.com.sg (smtp11.singnet.com.sg [165.21.6.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F08DC43D45 for ; Sun, 18 Jan 2004 01:50:10 -0800 (PST) (envelope-from spades@galaxynet.org) Received: from bryanuptrvb0jc (bb-203-125-28-11.singnet.com.sg [203.125.28.11])i0I9o9wO028007 for ; Sun, 18 Jan 2004 17:50:09 +0800 Message-ID: <092801c3dda8$8066a280$fa10fea9@bryanuptrvb0jc> From: "Spades" To: Date: Sun, 18 Jan 2004 17:50:27 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: usernames with uppercase 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, 18 Jan 2004 09:50:13 -0000 Hi, I tried to add a username ie. Bryan, but FreeBSD doesn't allow me to do so. It gives me illegal username error. Any idea how to go about adding usernames like 'Bryan-admin' etc. Please help. Thanks.. Bryan From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 01:54:26 2004 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 6172116A4CE for ; Sun, 18 Jan 2004 01:54:26 -0800 (PST) Received: from UNIX.ZA.NET (unix.za.net [137.158.96.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id C91ED43D48 for ; Sun, 18 Jan 2004 01:54:08 -0800 (PST) (envelope-from savage@savage.za.org) From: Chris Knipe To: freebsd-questions@freebsd.org References: <20040118130036.S98208-100000@prophet.alphaque.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <20040118095408.C91ED43D48@mx1.FreeBSD.org> Date: Sun, 18 Jan 2004 01:54:08 -0800 (PST) Subject: Re: Loading balancing with more than one ISP. 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, 18 Jan 2004 09:54:26 -0000 > On Sunday 18 January 2004 06:10, Dinesh Nair wrote: > > what i do today is i set the default route to the ISP i am more convinced > > off, with static routes of certain large CIDR address blocks going out to > > the other ISP. i decided on those large blocks after checking the global > > route tables, AS PATH diagrams and experience of link quality. you can do > > this by using tools such as the Looking Glass servers, RouteViews.Org and > > even Netlantis.org for your situation. i'm not running routed, > > zebra/bgpd/ospfd on this at all, since it's all static routes and i can't > > find an ISP ospf/bgp router willing to exchange routes with me. > > Same for me... > Anyway, thanks for the explanation :) > I really appreciated. > > Antoine Yes, here as well. However, this brings (to me at least) a very big problem. I route network A over gateway A, and network C over gateway B. (say, 2 x /12s) I have a service set up, some.host IN A A.A.A.x (i.e. in network A and gateway A). Now, the moment some one from network B connects to the service I've setup on network A, the FreeBSD Box will route the reply packets out on network B (because of the client's address) and hence, it follows a invalid networ path and the connection fails. The same will also happen when someone from Network A tries to connect to a IP on Network B.... ex: -- 192.168.1.0/24 --- | BSD ROUTER | --- 10.255.255.0/24 --- - Some Service on here - 192.168.1.0/24 routed to sis0 - 10.255.255.0/24 routed to sis1 The moment 192.168.1.x tries to connect to my IP address(es) from 10.255.255.0/25, the connection fails - and vica versa. If I can manage to solve this, then I'll be a *VERY* happy chappy. But other than that, as mentioned previously, the ipfw fwd thing doesn't work for me either - it forwards the packet to a port (won't really help forwarding ftp packets to port 21 of your router now, would it). So yes, I'm also stuck with this - and the sad part is I'll more than likely be adding a 3rd gateway to my network pretty soon.... Regards, Chris. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 02:07:57 2004 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 C518A16A4CE for ; Sun, 18 Jan 2004 02:07:57 -0800 (PST) Received: from mail.lphp.org (APastourelles-107-1-6-191.w193-251.abo.wanadoo.fr [193.251.29.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0003543D45 for ; Sun, 18 Jan 2004 02:07:55 -0800 (PST) (envelope-from ajacoutot@lphp.org) Received: from sta01 (sta01.lphp.local [192.168.0.3]) by mail.lphp.org (8.12.10/8.12.10) with ESMTP id i0IA5t5F044529; Sun, 18 Jan 2004 11:05:55 +0100 (CET) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: Chris Knipe , freebsd-questions@freebsd.org Date: Sun, 18 Jan 2004 11:05:48 +0100 User-Agent: KMail/1.5.4 References: <20040118130036.S98208-100000@prophet.alphaque.com> <20040118095408.C91ED43D48@mx1.FreeBSD.org> In-Reply-To: <20040118095408.C91ED43D48@mx1.FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181105.48386.ajacoutot@lphp.org> Subject: Re: Loading balancing with more than one ISP. 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, 18 Jan 2004 10:07:57 -0000 On Sunday 18 January 2004 10:54, Chris Knipe wrote: > I have a service set up, some.host IN A A.A.A.x (i.e. in network A and > gateway A). Now, the moment some one from network B connects to the > service I've setup on network A, the FreeBSD Box will route the reply > packets out on network B (because of the client's address) and hence, it > follows a invalid networ path and the connection fails. The same will also > happen when someone from Network A tries to connect to a IP on Network Hum, you're right... Let me try this also on monday, I'll give you some feedback about how it goes. Antoine From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 02:10:20 2004 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 CAF4516A4CE for ; Sun, 18 Jan 2004 02:10:20 -0800 (PST) Received: from dsl-mail.kamp.net (mail.kamp-dsl.de [195.62.99.42]) by mx1.FreeBSD.org (Postfix) with SMTP id C333843D1F for ; Sun, 18 Jan 2004 02:10:15 -0800 (PST) (envelope-from root@pukruppa.de) Received: (qmail 14702 invoked by uid 505); 18 Jan 2004 10:15:29 -0000 Received: from root@pukruppa.de by dsl-mail by uid 89 with qmail-scanner-1.14 (spamassassin: 2.43. Clear:SA:0(0.0/5.0):. Processed in 0.301166 secs); 18 Jan 2004 10:15:29 -0000 X-Spam-Status: No, hits=0.0 required=5.0 Received: from unknown (HELO reverse-213-146-114-24.dialin.kamp-dsl.de) (213.146.114.24) by dsl-mail.kamp.net with SMTP; 18 Jan 2004 10:15:28 -0000 Date: Sun, 18 Jan 2004 11:14:28 +0100 (CET) From: Peter Ulrich Kruppa X-X-Sender: root@pukruppa.net To: Stephen Hoover In-Reply-To: <000901c3dd8d$75f036b0$8202a8c0@cutlass442> Message-ID: <20040118110136.N735@pukruppa.net> References: <200401152000.00111.ecrist@adtechintegrated.com><20040116032014.GC93061@grimoire.chen.org.nz><20040116081028.GA2485@ergo.nruns.com> <000901c3dd8d$75f036b0$8202a8c0@cutlass442> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Success with Symantec Ghost 7 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, 18 Jan 2004 10:10:20 -0000 On Sun, 18 Jan 2004, Stephen Hoover wrote: > I know the topic of "ghosting" a FreeBSD box is discussed on here from time > to time. > > I just wanted to let everyone know I had a success using Ghost 7 on my > current setup. I cloned it from a Dell PowerEdge 2450 to a generic desktop > with same drive configuration (2 SCSI drives in each). I used Ghost to do a > sector copy on each individual harddrive. > > All I had to do to get it rolling was boot to the GENERIC kernel, as the one > I configured for the Dell server was SMP. Everything seemed to come up and > work fine. It even saw additional drive space on the new machine, as the > harddrives were slightly bigger. > > Just thought this was some good information for the list. > > Stephen Hoover > Dallas, Texas In case you have time to work it out and you can live with some small bugs, there is a very promising OpenSource project on http://www.sysresccd.org SystemRescueCD is a bootable CD based on Gentoo-Linux. It can - manage partitions - mirror partitions - set up connections to nfs and samba servers via network - ntfs and ufs support is declared as experimental by the authors but seems to work on my home-network Regards, Uli. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > +---------------------------+ | Peter Ulrich Kruppa | | Wuppertal | | Germany | +---------------------------+ From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 02:41:16 2004 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 6E1E016A4CE for ; Sun, 18 Jan 2004 02:41:16 -0800 (PST) Received: from holodoc.ip.se (ua-213-115-163-137.cust.bredbandsbolaget.se [213.115.163.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ABE543D67 for ; Sun, 18 Jan 2004 02:41:05 -0800 (PST) (envelope-from rd@tilde.se) Received: by holodoc.ip.se (Postfix, from userid 103) id 4C654128454; Sun, 18 Jan 2004 11:38:37 +0100 (CET) Received: from nyalaptopen (c-f79572d5.02-85-73746f13.cust.bredbandsbolaget.se [213.114.149.247]) by holodoc.ip.se (Postfix) with ESMTP id B9E7D12844E for ; Sun, 18 Jan 2004 11:38:34 +0100 (CET) Message-ID: <007701c3ddaf$8c58f000$8b01010a@nyalaptopen> From: "Rickard Dahlstrand" To: Date: Sun, 18 Jan 2004 11:40:53 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Sanitizer: This message has been sanitized! Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Cutting the power without unmounting the filesystem 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, 18 Jan 2004 10:41:16 -0000 Hi, I have a computer that will have it's power removed quite often. In other w= ord It will not unmount the file system. What kind of implications does thi= s have in the long term? I have discovered that the start-up takes much longer because of having to = clean the file system. Is there a way to prevent this and what harm can cut= ting the power have on the system? I know of some installations that use read-only mounting. Is it possible to= mount / RO and /etc and /var RW? Will that speed up the boot process? Best Regards, Rickard. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 03:27:52 2004 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 C842716A4CE for ; Sun, 18 Jan 2004 03:27:52 -0800 (PST) Received: from malle.himolde.no (malle.hiMolde.no [158.38.68.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8BD343D39 for ; Sun, 18 Jan 2004 03:27:50 -0800 (PST) (envelope-from Jefferson.San.Juan@hiMolde.no) Received: from hyse.himolde.no (hyse.hiMolde.no [158.38.68.12]) by malle.himolde.no (8.12.8/8.12.8) with ESMTP id i0IBQjW7014663; Sun, 18 Jan 2004 12:26:45 +0100 Received: (from apache@localhost) by hyse.himolde.no (8.12.5/8.12.5/Submit) id i0IBcIhA017130; Sun, 18 Jan 2004 12:38:18 +0100 X-Authentication-Warning: hyse.himolde.no: apache set sender to jefferso@himolde.no using -f Received: from 195.159.184.150 ( [195.159.184.150]) as user jefferso@hyse.himolde.no by hyse.himolde.no with HTTP; Sun, 18 Jan 2004 12:38:18 +0100 Message-ID: <1074425898.400a702a980e5@hyse.himolde.no> Date: Sun, 18 Jan 2004 12:38:18 +0100 From: Jefferson San Juan To: ecrist@adtechintegrated.com MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 cc: freebsd-questions@freebsd.org Subject: Re: Text parsing? 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, 18 Jan 2004 11:27:52 -0000 > For what purposes will I find I need to use all these tools you write > about? > I'm talking about awk, ed, ex, etc. I haven't found the need to do so, yet, > but I'd like to possibly learn this stuff before I really do need it. Such programs are usually used in shell scripts to parse out a part or some parts of a text output either from a text file or an output from a program such as ifconfig for instance. - Jefferson ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 03:36:15 2004 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 1DF9B16A4CE for ; Sun, 18 Jan 2004 03:36:15 -0800 (PST) Received: from mail.romat.com (mail.romat.com [212.143.245.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A91F43D3F for ; Sun, 18 Jan 2004 03:36:13 -0800 (PST) (envelope-from gilad_bsd@romat.com) Received: from localhost (localhost.lan [127.0.0.1]) by mail.romat.com (Postfix) with ESMTP id E9DBAEB2B2; Sun, 18 Jan 2004 13:36:11 +0200 (IST) Received: from mail.romat.com ([192.168.1.10]) by localhost (ladon.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 40216-04; Sun, 18 Jan 2004 13:36:10 +0200 (IST) Received: from romat.com (unknown [192.168.1.199]) by mail.romat.com (Postfix) with ESMTP id 7B262EB2B1; Sun, 18 Jan 2004 13:36:10 +0200 (IST) Message-ID: <400A6E8B.2090009@romat.com> Date: Sun, 18 Jan 2004 13:31:23 +0200 From: Gilad Rom Organization: Romat Telecom User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stephen Hoover References: <200401152000.00111.ecrist@adtechintegrated.com><20040116032014.GC93061@grimoire.chen.org.nz><20040116081028.GA2485@ergo.nruns.com> <400A25ED.4060408@romat.com> <000901c3dd8d$75f036b0$8202a8c0@cutlass442> In-Reply-To: <000901c3dd8d$75f036b0$8202a8c0@cutlass442> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Success with Symantec Ghost 7 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, 18 Jan 2004 11:36:15 -0000 Stephen Hoover wrote: > I know the topic of "ghosting" a FreeBSD box is discussed on here from time > to time. > > I just wanted to let everyone know I had a success using Ghost 7 on my > current setup. I cloned it from a Dell PowerEdge 2450 to a generic desktop > with same drive configuration (2 SCSI drives in each). I used Ghost to do a > sector copy on each individual harddrive. > > All I had to do to get it rolling was boot to the GENERIC kernel, as the one > I configured for the Dell server was SMP. Everything seemed to come up and > work fine. It even saw additional drive space on the new machine, as the > harddrives were slightly bigger. > > Just thought this was some good information for the list. > > Stephen Hoover > Dallas, Texas > > > _______________________________________________ > 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" > > Just out of curiousity - How long does it take for ghost to replicate the disk? I'm using dd if=/dev/ad0 of=/dev/ad2 bs=16k for my disks (2x20GB, EIDE, UDMA100), and it takes roughly 28 minutes. Gilad. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 03:50:40 2004 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 E535516A4CE for ; Sun, 18 Jan 2004 03:50:40 -0800 (PST) Received: from mail.pinboard.com (mail.pinboard.com [194.209.195.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96CF643D41 for ; Sun, 18 Jan 2004 03:50:37 -0800 (PST) (envelope-from kurt@pinboard.com) Received: (from uucp@localhost)UUCP id MAA82930 for freebsd-questions@freebsd.org; Sun, 18 Jan 2004 12:50:36 +0100 (CET) (envelope-from kurt@pinboard.com (kurt@pinboard.com)) (client-IP ) Received: (from kurt@localhost) (8.9.3p2-20030920/8.9.3/20011223-00-KK) id MAA61305; Sun, 18 Jan 2004 12:03:39 +0100 (CET) (envelope-from kurt (kurt)) (client-IP ) Date: Sun, 18 Jan 2004 12:03:38 +0100 From: pbdlists@pinboard.com To: freebsd-questions@freebsd.org Message-ID: <20040118120338.A59685@pinboard.com> Mail-Followup-To: pbdlists@pinboard.com, freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: ep driver problem in 5.2? 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, 18 Jan 2004 11:50:41 -0000 Today I installed FBSD 5.2 on my main notebook because I want to make the switch from 4.7. I have a 3Com Megahertz 10/100 LAN PC Card Model 3CCFE574BT. ep0: <3Com Megahertz 574B> at port 0x100-0x11f irq 11 function 0 config 1 on pccard0 Unknown ID: 0x201 ep0: Ethernet address 00:50:da:d3:6b:22 The default kernel is being used, no changes made. This card was working flawlessly all the time with FBSD 4.5/4.7, did autonegotiation perfectly, no problem at all, not even plugging the cable out on my 100 Mb switch and plugging it in on a 10 Mb hub or vice versa. With 5.2, however, the card works fine right right after ifconfig ep0 up, but: - it stops working if there has not been any traffic through the card for a while (have not yet been able to determine the exact time) - if there is traffic through the card all the time (eg pinging another host continuously) it does not stop working - broadcasts, arp requests and other packets going to all nodes on the network seem to do the trick as well as a constant ping - the autonegotiating switch, to which it is connected, still shows the card is there and in 100 MB full duplex mode - ifconfig ep0 down followed by ifconfig ep0 up brings the card back to life again - if connecting the card to a 10 MB hub, there are no problems, it continues to work properly, even if there is no traffic through it for some time Unfortunately the ep driver does not support setting the media, otherwise it might be possible to work around the problem. At the moment I'm at a loss, not knowing how to get this to work. Writing a startup script which does not return and pings another host on the network all the time is not quite the solution I'd be happy to implement... Kurt From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 03:56:40 2004 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 0F63616A4CF for ; Sun, 18 Jan 2004 03:56:40 -0800 (PST) Received: from mail.romat.com (mail.romat.com [212.143.245.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C3C343D2D for ; Sun, 18 Jan 2004 03:56:36 -0800 (PST) (envelope-from gilad_bsd@romat.com) Received: from localhost (localhost.lan [127.0.0.1]) by mail.romat.com (Postfix) with ESMTP id E96EEEB2B2; Sun, 18 Jan 2004 13:56:34 +0200 (IST) Received: from mail.romat.com ([192.168.1.10]) by localhost (ladon.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 40216-07; Sun, 18 Jan 2004 13:56:33 +0200 (IST) Received: from romat.com (unknown [192.168.1.199]) by mail.romat.com (Postfix) with ESMTP id 2D4A3EB2A9; Sun, 18 Jan 2004 13:56:33 +0200 (IST) Message-ID: <400A7352.7020101@romat.com> Date: Sun, 18 Jan 2004 13:51:46 +0200 From: Gilad Rom Organization: Romat Telecom User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rickard Dahlstrand References: <007701c3ddaf$8c58f000$8b01010a@nyalaptopen> In-Reply-To: <007701c3ddaf$8c58f000$8b01010a@nyalaptopen> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Cutting the power without unmounting the filesystem 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, 18 Jan 2004 11:56:40 -0000 Rickard Dahlstrand wrote: > Hi, > > I have a computer that will have it's power removed quite often. In other word It will not unmount the file system. What kind of implications does this have in the long term? > > I have discovered that the start-up takes much longer because of having to clean the file system. Is there a way to prevent this and what harm can cutting the power have on the system? > > I know of some installations that use read-only mounting. Is it possible to mount / RO and /etc and /var RW? Will that speed up the boot process? > > Best Regards, Rickard. > _______________________________________________ > 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" > > 5.2 has background fsck - I don't know if its going to fix all of the problems that cutting the power is going to introduce, but Its going to speed up your boot sequence for sure. Gilad. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 04:14:16 2004 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 EFD8B16A4CF; Sun, 18 Jan 2004 04:14:14 -0800 (PST) Received: from smtp17.singnet.com.sg (smtp17.singnet.com.sg [165.21.6.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A34443D2F; Sun, 18 Jan 2004 04:14:13 -0800 (PST) (envelope-from spades@galaxynet.org) Received: from bryanuptrvb0jc (bb-203-125-28-11.singnet.com.sg [203.125.28.11])i0ICEBXU011138; Sun, 18 Jan 2004 20:14:11 +0800 Message-ID: <09bd01c3ddbc$9f829070$fa10fea9@bryanuptrvb0jc> From: "Spades" To: Date: Sun, 18 Jan 2004 20:14:29 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-security@freebsd.org Subject: arp problem in /var/log/messages 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, 18 Jan 2004 12:14:16 -0000 hi all, i got flooded by these msgs like 1000+ lines, any idea? my kernel is dated Nov-30 FreeBSD 4.9-stable # tail -f /var/log/messages Jan 18 19:43:23 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74 to 00:50:0f:4f:c0:00 on rl0 Jan 18 19:45:06 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00 to 00:04:5a:49:eb:74 on rl0 Jan 18 19:45:18 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74 to 00:50:0f:4f:c0:00 on rl0 Jan 18 19:45:41 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00 to 00:04:5a:49:eb:74 on rl0 Jan 18 19:45:45 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74 to 00:50:0f:4f:c0:00 on rl0 thanks and regards, John From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 04:19:05 2004 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 D0A2D16A4CF for ; Sun, 18 Jan 2004 04:19:05 -0800 (PST) Received: from hotmail.com (bay8-f19.bay8.hotmail.com [64.4.27.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id E573943D2F for ; Sun, 18 Jan 2004 04:19:04 -0800 (PST) (envelope-from lee_ver_mx@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 18 Jan 2004 04:19:04 -0800 Received: from 200.78.18.69 by by8fd.bay8.hotmail.msn.com with HTTP; Sun, 18 Jan 2004 12:19:04 GMT X-Originating-IP: [200.78.18.69] X-Originating-Email: [lee_ver_mx@hotmail.com] X-Sender: lee_ver_mx@hotmail.com From: "Lee Mx" To: kline@thought.org Date: Sun, 18 Jan 2004 04:19:04 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 18 Jan 2004 12:19:04.0882 (UTC) FILETIME=[4393C120:01C3DDBD] cc: freebsd-questions@freebsd.org Subject: Re: stumped... . 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, 18 Jan 2004 12:19:06 -0000 > > > On Sat, 17 Jan 2004, Gary Kline wrote: > > > > > > > > > > > I've written scores of scripts to hack text files, but this > > > > one has me dead in the water. > > > > > > > > How can I delete all lines from /^PATTERN to EOF?? > > > > > > > > ed - < > > > > > > > /^PATTERN > > > > (.,$)d > > > > w > > > > q > > > > foo > > > > > > > > or anything else I've tried doesn't do it. I could do it in > > > > C/C++,but c'mon... ! Any solutions in sed, perl, or ed/ex? > > > > > > Well, you didn't mention awk, but... > > > > > > > > > awk '$0 ~ /^PATTERN/ {x=1}; {if (x!=1) print $0}' < foo > bar > > > > > > > Wouldn't it be neater to do > > > > nawk '/^PATTERN/ { exit } ; { print }' Couldn't sed '/^PATTERN/,$d' < foo > bar be a bit faster? _________________________________________________________________ Check out the new MSN 9 Dial-up — fast & reliable Internet access with prime features! http://join.msn.com/?pgmarket=en-us&page=dialup/home&ST=1 From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 04:36:49 2004 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 2494816A4CE for ; Sun, 18 Jan 2004 04:36:49 -0800 (PST) Received: from zim.0x7e.net (zim.0x7e.net [203.38.184.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBB6443D31 for ; Sun, 18 Jan 2004 04:36:47 -0800 (PST) (envelope-from listone@deathbeforedecaf.net) Received: from goo.0x7e.net ([203.38.184.164] helo=goo) by zim.0x7e.net with smtp (Exim 3.36 #1) id 1AiCAX-0004Cg-00; Sun, 18 Jan 2004 23:06:45 +1030 Message-ID: <000601c3ddbf$bbbbb980$a4b826cb@goo> From: "Rob" To: , References: <200401172159.37521.ecrist@adtechintegrated.com> Date: Sun, 18 Jan 2004 23:06:43 +1030 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: Text parsing? 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, 18 Jan 2004 12:36:49 -0000 Eric F Crist asked on Sun Jan 18, 2004: > For what purposes will I find I need to use all these tools you write about? > I'm talking about awk, ed, ex, etc. I haven't found the need to do so, yet, > but I'd like to possibly learn this stuff before I really do need it. Logfiles and config files are usually text, and a standard set of text processing tools exist. This leads to the Unix tradition of sticking little things together. For example, I'm doing a 'make release' - there's a lot of repeated output, so it's hard to see how far it's gone if it crashes. So to save the output, I run it under the script(1) command. Then on another tty, I run tail -f /var/tmp/script | grep '^[>+]' which shows the main headings of the build process. After a while, many admin tasks start to look like text processing problems. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 04:40:20 2004 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 C10AF16A4CE for ; Sun, 18 Jan 2004 04:40:20 -0800 (PST) Received: from mail023.syd.optusnet.com.au (mail023.syd.optusnet.com.au [211.29.132.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id A165943D2D for ; Sun, 18 Jan 2004 04:40:18 -0800 (PST) (envelope-from freebsd-questions@kenka.org) Received: from gateway (c211-30-82-80.belrs2.nsw.optusnet.com.au [211.30.82.80])i0ICeGk14509 for ; Sun, 18 Jan 2004 23:40:17 +1100 Message-ID: <000701c3ddc0$388363a0$6501a8c0@nsw.optushome.com.au> From: "Jon" To: Date: Sun, 18 Jan 2004 23:40:14 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: saving downloaded packages with pkg_add -r 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, 18 Jan 2004 12:40:20 -0000 Hi, When I do, say... pkg_add -r foo ... is foo-version.tar.gz stored anywhere? With ports, the source tarballs are saved in /usr/ports/distfiles. But I can't find the downloaded packages anywhere. Can't find mention of this either. Reason I ask is that I'm going to reinstall after using FBSD for the first time, and I don't want to re-download all those packages again as I have a quota. And I also don't want to have to manually download and save each package & it's deps. Thanks! From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 04:48:01 2004 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 3CCE616A4CE for ; Sun, 18 Jan 2004 04:48:01 -0800 (PST) Received: from holodoc.ip.se (ua-213-115-163-137.cust.bredbandsbolaget.se [213.115.163.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCDAA43D45 for ; Sun, 18 Jan 2004 04:47:59 -0800 (PST) (envelope-from rd@tilde.se) Received: by holodoc.ip.se (Postfix, from userid 103) id A022A128454; Sun, 18 Jan 2004 13:45:32 +0100 (CET) Received: from nyalaptopen (c-f79572d5.02-85-73746f13.cust.bredbandsbolaget.se [213.114.149.247]) by holodoc.ip.se (Postfix) with ESMTP id 9CF7312844E; Sun, 18 Jan 2004 13:45:30 +0100 (CET) Message-ID: <002501c3ddc1$47ca4210$8b01010a@nyalaptopen> From: "Rickard Dahlstrand" To: "Gilad Rom" References: <007701c3ddaf$8c58f000$8b01010a@nyalaptopen> <400A7352.7020101@romat.com> Date: Sun, 18 Jan 2004 13:47:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Sanitizer: This message has been sanitized! cc: freebsd-questions@freebsd.org Subject: Re: Cutting the power without unmounting the filesystem 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, 18 Jan 2004 12:48:01 -0000 Thanks Gilad, I was hoping on a solution that can work on 4.9. Can you provide me with some problems that I might introduce? Rickard. ----- Original Message ----- From: "Gilad Rom" To: "Rickard Dahlstrand" Cc: Sent: Sunday, January 18, 2004 12:51 PM Subject: Re: Cutting the power without unmounting the filesystem > Rickard Dahlstrand wrote: > > Hi, > > > > I have a computer that will have it's power removed quite often. In other word It will not unmount the file system. What kind of implications does this have in the long term? > > > > I have discovered that the start-up takes much longer because of having to clean the file system. Is there a way to prevent this and what harm can cutting the power have on the system? > > > > I know of some installations that use read-only mounting. Is it possible to mount / RO and /etc and /var RW? Will that speed up the boot process? > > > > Best Regards, Rickard. > > _______________________________________________ > > 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" > > > > > 5.2 has background fsck - I don't know if its going to fix all of the > problems that cutting the power is going to introduce, but Its going > to speed up your boot sequence for sure. > > Gilad. > > From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 05:27:52 2004 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 7946216A4CE for ; Sun, 18 Jan 2004 05:27:52 -0800 (PST) Received: from flock1.newmail.ru (morda.newmail.ru [212.48.140.150]) by mx1.FreeBSD.org (Postfix) with SMTP id B02CB43D31 for ; Sun, 18 Jan 2004 05:27:50 -0800 (PST) (envelope-from novad@newmail.ru) Received: (qmail 12052 invoked from network); 18 Jan 2004 13:27:48 -0000 Received: from unknown (HELO novad) (novad@newmail.ru@212.46.253.72) by smtpd.newmail.ru with SMTP; 18 Jan 2004 13:27:48 -0000 Date: Sun, 18 Jan 2004 16:27:46 +0300 From: =?koi8-r?B?4czFy9PFyiDkzcnU0snF18ne?= X-Mailer: The Bat! (v2.01) X-Priority: 3 (Normal) Message-ID: <29862870.20040118162746@newmail.ru> To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Sun, 18 Jan 2004 05:33:02 -0800 Subject: FreeBSD support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: =?koi8-r?B?4czFy9PFyiDkzcnU0snF18ne?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 13:27:52 -0000 Hello Support, I have a problem my floppy drive does not want to work. when my FreeBSD 5.1 boots I have a message fdc0: cmd 3 faild at out byte 1 of 3 and cannot reserve I/O port range (6 port) After logining I cannot use my floppy drive- there is no device file. What should I do? -- Best regards, Alexey mailto:novad@newmail.ru From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 05:45:11 2004 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 780D216A4CE for ; Sun, 18 Jan 2004 05:45:11 -0800 (PST) Received: from sccimhc02.asp.att.net (sccimhc02.asp.att.net [63.240.76.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BBB643D4C for ; Sun, 18 Jan 2004 05:45:10 -0800 (PST) (envelope-from david.fleck@mchsi.com) Received: from grond (12-216-14-105.client.mchsi.com[12.216.14.105]) by sccimhc02.asp.att.net (sccimhc02) with SMTP id <20040118134509im20067upde>; Sun, 18 Jan 2004 13:45:09 +0000 Date: Sun, 18 Jan 2004 07:45:09 -0600 (CST) From: David Fleck Sender: dcf@grond.sourballs.org To: Rob In-Reply-To: <007d01c3dd7d$d0917530$a4b826cb@goo> Message-ID: <20040118074234.J602@grond.sourballs.org> References: <20040118030911.GA18161@tao.thought.org> <20040117215110.R602@grond.sourballs.org> <007d01c3dd7d$d0917530$a4b826cb@goo> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Gary Kline cc: David Fleck cc: FreeBSD Mailing List Subject: Re: stumped... . 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, 18 Jan 2004 13:45:11 -0000 On Sun, 18 Jan 2004, Rob wrote: > David Fleck wrote on Sunday January 18, 2004: > > Well, you didn't mention awk, but... > > > > > > awk '$0 ~ /^PATTERN/ {x=1}; {if (x!=1) print $0}' < foo > bar > > Wouldn't it be neater to do > > nawk '/^PATTERN/ { exit } ; { print }' > > ? Why, yes, it would. 'awk' works with that, as well. What does 'nawk' do that 'awk' doesn't? I've got both binaries on my system, but the nawk manpage is just a link to awk(1). -- David Fleck david.fleck@mchsi.com From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 05:56:47 2004 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 CCDAC16A4E4 for ; Sun, 18 Jan 2004 05:56:47 -0800 (PST) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2ADD843D48 for ; Sun, 18 Jan 2004 05:56:46 -0800 (PST) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp107-236.lns1.adl1.internode.on.net [150.101.107.236])i0IDugqR056308; Mon, 19 Jan 2004 00:26:43 +1030 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Gautam Gopalakrishnan , Gary Kline Date: Mon, 19 Jan 2004 00:26:41 +1030 User-Agent: KMail/1.4.3 References: <20040118030911.GA18161@tao.thought.org> <20040118034842.GA80517@madras.dyndns.org> In-Reply-To: <20040118034842.GA80517@madras.dyndns.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200401190026.41956.malcolm.kay@internode.on.net> cc: FreeBSD Mailing List Subject: Re: stumped... . 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, 18 Jan 2004 13:56:47 -0000 On Sun, 18 Jan 2004 14:18, Gautam Gopalakrishnan wrote: > On Sat, Jan 17, 2004 at 07:09:12PM -0800, Gary Kline wrote: > > =09I've written scores of scripts to hack text files, but this > > =09one has me dead in the water. > > > > =09How can I delete all lines from /^PATTERN to EOF?? > > sed -e '/pattern/,$d' I think: sed -e '/^PATTERN/,$d' Malcolm From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 06:01:10 2004 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 2ED9E16A4CE for ; Sun, 18 Jan 2004 06:01:10 -0800 (PST) Received: from mail.lphp.org (APastourelles-107-1-6-191.w193-251.abo.wanadoo.fr [193.251.29.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8829C43D67 for ; Sun, 18 Jan 2004 06:01:00 -0800 (PST) (envelope-from ajacoutot@lphp.org) Received: from sta01 (sta01.lphp.local [192.168.0.3]) by mail.lphp.org (8.12.10/8.12.10) with ESMTP id i0IDwn5F046416; Sun, 18 Jan 2004 14:58:49 +0100 (CET) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: Kris Kennaway Date: Sun, 18 Jan 2004 14:58:44 +0100 User-Agent: KMail/1.5.4 References: <200401171338.15670.ajacoutot@lphp.org> <200401172027.19927.ajacoutot@lphp.org> <20040117220110.GB78912@xor.obsecurity.org> In-Reply-To: <20040117220110.GB78912@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181458.44948.ajacoutot@lphp.org> cc: freebsd-questions@freebsd.org Subject: Re: rpc.lockd segfault 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, 18 Jan 2004 14:01:10 -0000 On Saturday 17 January 2004 23:01, Kris Kennaway wrote: > Unfortunately that doesn't give any information. You'll need to > recompile rpc.lockd with GDB debugging symbols (add -ggdb to CFLAGS). > See the developer's handbook on the website for more information about > debugging program failures with gdb (specifically, how to obtain a > useful backtrace). Well, I recompiled rpc.lockd using -ggdb and -g, but when I launch the following command: $ gdb /usr/sbin/rpc.lockd ... I get: GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)... How come no debugging symbols are found ? Here is how I compiled rpc.lockd ( CFLAGS= -g -ggdb -O -pipe ): $ rm -Rf /usr/obj/* $ cd /usr/src/usr.sbin/rpc.lockd $ make clean && make obj && make depend && make all install rm -f nlm_prot_svc.c nlm_prot.h test rpc.lockd kern.o nlm_prot_svc.o lockd.o lock_proc.o lockd_lock.o rpc.lockd.8.gz rpc.lockd.8.cat.gz /usr/obj/usr/src/usr.sbin/rpc.lockd created for /usr/src/usr.sbin/rpc.lockd rpcgen -L -C -m -o nlm_prot_svc.c /usr/include/rpcsvc/nlm_prot.x rm -f .depend mkdep -f .depend -a -I. -I/usr/include/rpcsvc /usr/src/usr.sbin/rpc.lockd/kern.c nlm_prot_svc.c /usr/src/usr.sbin/rpc.lockd/lockd.c /usr/src/usr.sbin/rpc.lockd/lock_proc.c /usr/src/usr.sbin/rpc.lockd/lockd_lock.c echo rpc.lockd: /usr/lib/libc.a /usr/lib/librpcsvc.a /usr/lib/libutil.a >> .depend cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc -c /usr/src/usr.sbin/rpc.lockd/kern.c cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc -c nlm_prot_svc.c cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc -c /usr/src/usr.sbin/rpc.lockd/lockd.c cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc -c /usr/src/usr.sbin/rpc.lockd/lock_proc.c cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc -c /usr/src/usr.sbin/rpc.lockd/lockd_lock.c cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc -o rpc.lockd kern.o nlm_prot_svc.o lockd.o lock_proc.o lockd_lock.o -lrpcsvc -lutil gzip -cn /usr/src/usr.sbin/rpc.lockd/rpc.lockd.8 > rpc.lockd.8.gz install -s -o root -g wheel -m 555 rpc.lockd /usr/sbin install -o root -g wheel -m 444 rpc.lockd.8.gz /usr/share/man/man8 /usr/share/man/man8/lockd.8.gz -> /usr/share/man/man8/rpc.lockd.8.gz Thanks a lot for your help. Antoine From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 06:03:33 2004 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 19A7216A4CE for ; Sun, 18 Jan 2004 06:03:33 -0800 (PST) Received: from etrn2.doruk.net.tr (etrn2.doruk.net.tr [212.58.5.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id E356843D49 for ; Sun, 18 Jan 2004 06:03:26 -0800 (PST) (envelope-from vahric@doruk.net.tr) Received: from mail.doruk.net.tr ([212.58.5.6] helo=doruk.net.tr) by etrn2.doruk.net.tr with smtp (Exim 4.24) id 1AiDcK-0005oz-SB for freebsd-questions@freebsd.org; Sun, 18 Jan 2004 16:09:32 +0200 Received: from [212.58.13.17] (account vahric HELO VAHOXP) by doruk.net.tr (CommuniGate Pro SMTP 4.1.8) with ESMTP id 72754353 for freebsd-questions@freebsd.org; Sun, 18 Jan 2004 16:11:04 +0200 From: "Vahric MUHTARYAN" To: Date: Sun, 18 Jan 2004 16:03:45 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPdy+M8xH0oM+zXSxq42S6RaRrrFQ== Message-ID: Subject: installation problem with AMD CPU and Board 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, 18 Jan 2004 14:03:33 -0000 Hi Everybody , I want to install FreeBSD 4.9 or 4.9 but after installation finished then system try to boot again after reset but it's delayed on this sentence. ** Agp0: mem 0xf4300000-0xf4300ffff,0xf8000000-0xfbffffff id device 0.0 on pci0 ** it's interesting, I'm installed 4.9 and 4.8 via Floppy drive then I try to install FreeBSD 5.1 and 5.2 because I think that maybe unsupported drive it's delayed on same place ( I can't see the sysinstall menu ) ?!?!?! I don't understand why I can pass this section via floppy ?! I checked http://www.freebsd.org/releases/4.9R/hardware-i386.html#AEN16 page but I can't find any informaiton that my board supported or not ?! Any idea ?! Vahric MUHTARYAN From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 06:03:43 2004 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 7F2D616A4CE for ; Sun, 18 Jan 2004 06:03:43 -0800 (PST) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2989043D49 for ; Sun, 18 Jan 2004 06:03:42 -0800 (PST) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([67.20.101.103]) by mta10.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040118140336.TYVU9070.mta10.adelphia.net@barbish>; Sun, 18 Jan 2004 09:03:36 -0500 From: "fbsd_user" To: "Aeaenae Aieo?eaae?" , Date: Sun, 18 Jan 2004 09:03:36 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <29862870.20040118162746@newmail.ru> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: RE: FreeBSD support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 14:03:43 -0000 This boot error message general means that your floppy drive is broken. When was the last time you used it? Try to verify that it's in working order by booting an MS/Window system on that PC, or swap that floppy drive with one from some other PC that you can test works first. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of áÌÅËÓÅÊ äÍÉÔÒÉÅ×ÉÞ Sent: Sunday, January 18, 2004 8:28 AM To: freebsd-questions@FreeBSD.ORG Subject: FreeBSD support Hello Support, I have a problem my floppy drive does not want to work. when my FreeBSD 5.1 boots I have a message fdc0: cmd 3 faild at out byte 1 of 3 and cannot reserve I/O port range (6 port) After logining I cannot use my floppy drive- there is no device file. What should I do? -- Best regards, Alexey mailto:novad@newmail.ru _______________________________________________ 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 Jan 18 06:05:11 2004 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 6B9BC16A4CE for ; Sun, 18 Jan 2004 06:05:11 -0800 (PST) Received: from mail.romat.com (mail.romat.com [212.143.245.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB96243D64 for ; Sun, 18 Jan 2004 06:04:34 -0800 (PST) (envelope-from gilad_bsd@romat.com) Received: from localhost (localhost.lan [127.0.0.1]) by mail.romat.com (Postfix) with ESMTP id 44293EB2CA; Sun, 18 Jan 2004 16:04:32 +0200 (IST) Received: from mail.romat.com ([192.168.1.10]) by localhost (ladon.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 41891-04; Sun, 18 Jan 2004 16:04:30 +0200 (IST) Received: from romat.com (unknown [192.168.1.199]) by mail.romat.com (Postfix) with ESMTP id B7403EB2B2; Sun, 18 Jan 2004 16:04:30 +0200 (IST) Message-ID: <400A914F.6090802@romat.com> Date: Sun, 18 Jan 2004 15:59:43 +0200 From: Gilad Rom Organization: Romat Telecom User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Antoine Jacoutot References: <200401171338.15670.ajacoutot@lphp.org> <200401172027.19927.ajacoutot@lphp.org> <20040117220110.GB78912@xor.obsecurity.org> <200401181458.44948.ajacoutot@lphp.org> In-Reply-To: <200401181458.44948.ajacoutot@lphp.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org cc: Kris Kennaway Subject: Re: rpc.lockd segfault 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, 18 Jan 2004 14:05:11 -0000 Antoine Jacoutot wrote: > On Saturday 17 January 2004 23:01, Kris Kennaway wrote: > >>Unfortunately that doesn't give any information. You'll need to >>recompile rpc.lockd with GDB debugging symbols (add -ggdb to CFLAGS). >>See the developer's handbook on the website for more information about >>debugging program failures with gdb (specifically, how to obtain a >>useful backtrace). > > > Well, I recompiled rpc.lockd using -ggdb and -g, but when I launch the > following command: > $ gdb /usr/sbin/rpc.lockd > ... I get: > > GNU gdb 5.2.1 (FreeBSD) > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols > found)... > > How come no debugging symbols are found ? > > Here is how I compiled rpc.lockd > ( CFLAGS= -g -ggdb -O -pipe ): > $ rm -Rf /usr/obj/* > $ cd /usr/src/usr.sbin/rpc.lockd > $ make clean && make obj && make depend && make all install > > rm -f nlm_prot_svc.c nlm_prot.h test rpc.lockd kern.o nlm_prot_svc.o lockd.o > lock_proc.o lockd_lock.o rpc.lockd.8.gz rpc.lockd.8.cat.gz > /usr/obj/usr/src/usr.sbin/rpc.lockd created for /usr/src/usr.sbin/rpc.lockd > rpcgen -L -C -m -o nlm_prot_svc.c /usr/include/rpcsvc/nlm_prot.x > rm -f .depend > mkdep -f .depend -a -I. > -I/usr/include/rpcsvc /usr/src/usr.sbin/rpc.lockd/kern.c > nlm_prot_svc.c /usr/src/usr.sbin/rpc.lockd/lockd.c /usr/src/usr.sbin/rpc.lockd/lock_proc.c /usr/src/usr.sbin/rpc.lockd/lockd_lock.c > echo rpc.lockd: /usr/lib/libc.a /usr/lib/librpcsvc.a /usr/lib/libutil.a > >>>.depend > > cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc > -c /usr/src/usr.sbin/rpc.lockd/kern.c > cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc -c > nlm_prot_svc.c > cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc > -c /usr/src/usr.sbin/rpc.lockd/lockd.c > cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc > -c /usr/src/usr.sbin/rpc.lockd/lock_proc.c > cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc > -c /usr/src/usr.sbin/rpc.lockd/lockd_lock.c > cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc -o rpc.lockd > kern.o nlm_prot_svc.o lockd.o lock_proc.o lockd_lock.o -lrpcsvc -lutil > gzip -cn /usr/src/usr.sbin/rpc.lockd/rpc.lockd.8 > rpc.lockd.8.gz > install -s -o root -g wheel -m 555 rpc.lockd /usr/sbin install -s uses strip(1), so all your debugging symbols are erased. the original binary left in-place should have debugging symbols. Gilad. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 06:06:00 2004 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 A4BD316A4CE for ; Sun, 18 Jan 2004 06:06:00 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-67-119-53-122.dsl.lsan03.pacbell.net [67.119.53.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4A4C43D5D for ; Sun, 18 Jan 2004 06:05:39 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6582466C78; Sun, 18 Jan 2004 06:05:39 -0800 (PST) Date: Sun, 18 Jan 2004 06:05:39 -0800 From: Kris Kennaway To: Antoine Jacoutot Message-ID: <20040118140539.GA87622@xor.obsecurity.org> References: <200401171338.15670.ajacoutot@lphp.org> <200401172027.19927.ajacoutot@lphp.org> <20040117220110.GB78912@xor.obsecurity.org> <200401181458.44948.ajacoutot@lphp.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <200401181458.44948.ajacoutot@lphp.org> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org cc: Kris Kennaway Subject: Re: rpc.lockd segfault 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, 18 Jan 2004 14:06:00 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jan 18, 2004 at 02:58:44PM +0100, Antoine Jacoutot wrote: > > Unfortunately that doesn't give any information. You'll need to > > recompile rpc.lockd with GDB debugging symbols (add -ggdb to CFLAGS). > > See the developer's handbook on the website for more information about > > debugging program failures with gdb (specifically, how to obtain a > > useful backtrace). > $ gdb /usr/sbin/rpc.lockd > How come no debugging symbols are found ? > install -s -o root -g wheel -m 555 rpc.lockd /usr/sbin ^^ This strips the debugging symbols. Run gdb against the version of the binary in the obj/ directory. e.g cd /usr/src/usr.sbin/rpc.lockd make objdir cd obj gdb ./rpc.lockd Kris --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFACpKyWry0BWjoQKURAid2AJ9CjdXMZDIBajFtSXlMaScPsnxMfACg3CN1 n00LVTAI478kwtel1hORw1I= =CoNi -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 06:38:25 2004 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 B1AA416A4CE for ; Sun, 18 Jan 2004 06:38:25 -0800 (PST) Received: from pion19.tphys.physik.uni-tuebingen.de (pion19.tphys.physik.uni-tuebingen.de [134.2.78.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F40C43D1D for ; Sun, 18 Jan 2004 06:38:23 -0800 (PST) (envelope-from epple@pion19.tphys.physik.uni-tuebingen.de) Received: from axion01.tphys.physik.uni-tuebingen.de (axion01.tphys.physik.uni-tuebingen.de [134.2.78.148]) id i0IEcMCL027926 for ; Sun, 18 Jan 2004 15:38:22 +0100 Received: from axion01.tphys.physik.uni-tuebingen.de (epple@localhost [127.0.0.1])with ESMTP id i0IEcMKJ009653 for ; Sun, 18 Jan 2004 15:38:22 +0100 Received: (from epple@localhost)id i0IEcL7e009651 for freebsd-questions@freebsd.org; Sun, 18 Jan 2004 15:38:21 +0100 From: Dominik Epple Date: Sun, 18 Jan 2004 15:38:21 +0100 To: freebsd-questions@freebsd.org Message-ID: <20040118143821.GA9628@axion01.tphys.physik.uni-tuebingen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Subject: XFree86 on 5.2 crashes on logout 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, 18 Jan 2004 14:38:25 -0000 Hi, The following problem I have on an old PC (P2 400, Intel BX chipset mainboard, nv tnt2 graphics card, nv driver in XFree86, usb mouse): I can start X and work happily, environment is GNOME. While using X, I can switch to the text consoles and back without problem. Then I finish the X session by chosing "logout" in the GNOME menu, the X server exits and then the system is completely locked up. The system switches to the console, which displays the ususal logging messages of X but is dead, i.e. does not react on keyboard input, and login via the net is impossible. A hard reset is required. This happens in the following test cases: I did exchange the graphics card and used an ati rage xl for testing, I used moused with sysmouse protocol as well as direct access to the /dev/ums0 device with protocol Auto for the mouse, it happens with startx as well as with using xdm, and finally I tried disabling the "dri" and "dbe" (no clue what the latter does anyway) modules in the XF86Config, everything to no avail, the problem stays exactly the same. The log files (XFree86 logfile, messages logfile) do not contain anything unusual. The XF86Config you find attached below. It just seems that I am doing something in the very basics seriously wrong, since the problem is uneffected by all of the above changes. Any idea? Or is it just some dying hardware somewhere in the system, i.e. RAM or the mainboard chipset or whatever? The system is FreeBSD 5.2-RELEASE with XFree 4.3.0. This problem appeared after the reinstall of the machine to 5.2. The machine was running on 5.1 before with no problems. Thanks, Dominik. # /etc/X11/XF86Config Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" EndSection Section "Module" # Load "freetype" # Load "xtt" Load "extmod" #Load "glx" #Load "dri" Load "dbe" Load "record" Load "xtrap" Load "type1" Load "speedo" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "SysMouse" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "Monitor" Identifier "Monitor0" HorizSync 27.0 - 92.0 VertRefresh 50.0 - 160.0 EndSection Section "Device" Identifier "Card0" Driver "nv" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" EndSubSection EndSection From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 06:44:20 2004 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 DCF2816A4CE for ; Sun, 18 Jan 2004 06:44:20 -0800 (PST) Received: from babylon5.hosteurope.de (babylon5.hosteurope.de [217.115.143.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 141B943D1F for ; Sun, 18 Jan 2004 06:44:19 -0800 (PST) (envelope-from freebsd@sp1r1t.de) Received: from webmailer.hosteurope.de (webmailer.hosteurope.de [217.115.143.38])i0IEiHK6001936 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 18 Jan 2004 15:44:17 +0100 Received: (from nobody@localhost) by webmailer.hosteurope.de (8.12.8/8.12.5/Submit) id i0IEiGpU024042; Sun, 18 Jan 2004 15:44:16 +0100 Date: Sun, 18 Jan 2004 15:44:16 +0100 Message-Id: <200401181444.i0IEiGpU024042@webmailer.hosteurope.de> From: freebsd To: freebsd-questions@freebsd.org Cc: MIME-Version: 1.0 Content-type: multipart/mixed; boundary="3119C22E45D62FA9382CFCA79DB7D338" From: freebsd@sp1r1t.de Subject: gnome startup : \"can\'t find /dev/sound/mixer\" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@sp1r1t.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 14:44:21 -0000 Content-Transfer-Encoding: 8bit --3119C22E45D62FA9382CFCA79DB7D338 Content-Type: text/plain Content-Transfer-Encoding: 8bit Hello everybody, I have FreeBSD 4.8 installed on an AMD thunderbird 800 and i am using gnome. everytime i start gnome, i get the error message \"cant open /dev/sound/mixer\". There is a Sound Blaster 128 Pro PCI installed in the box, but neither does /dev/sound exist, nor can i spot anything that looks as if it could be a sound card in the output of dmesg. a threat at linuxquestions.org [1] exists that seems to describe the same problem and someone claims the solution was to rebuild the kernel with soundcart support, but noone did further comment on that proposal. is there no sound card support in freebsd 4.8 by default? do i have to rebuild the kernel? or is there another solution to my problem? thanks for your annswers, tim freebsd@sp1r1t.de [1] http://www.linuxquestions.org/questions/archive/17/2003/06/2/63923 --3119C22E45D62FA9382CFCA79DB7D338-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 06:44:48 2004 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 D4F8F16A4CE for ; Sun, 18 Jan 2004 06:44:48 -0800 (PST) Received: from garbage.relinfo.ru (garbage.relinfo.ru [195.161.208.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57E9D43D1F for ; Sun, 18 Jan 2004 06:44:47 -0800 (PST) (envelope-from levanty@mari-el.ru) Received: from lion.relinfo.ru ([195.161.208.133]) by garbage.relinfo.ru with esmtp (Exim 4.10) id 1AiEET-00054K-00 for freebsd-questions@freebsd.org; Sun, 18 Jan 2004 17:48:57 +0300 Date: Sun, 18 Jan 2004 17:46:15 +0300 From: Lev Klimin X-Mailer: The Bat! (v1.61) Organization: VolgaTelecom X-Priority: 3 (Normal) Message-ID: <97246977750.20040118174615@mari-el.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: NIC ne2000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lev Klimin List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 14:44:49 -0000 Hello! I have 4.9-release. I have old noname NIC. On the top of main chip I see "NE2000 Compatible". I see in LINT for that: --- from LINT--- # # Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc' # # ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 device ed0 at isa? port 0x280 irq 5 iomem 0xd8000 ---------------- I have began to build my kernel with follow option for this NIC: device ed0 at isa? port 0x280 irq 5 iomem 0xd8000 but I've see: cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 vers.c linking kernel if_ed.o: In function `ed_tick': if_ed.o(.text+0x2706): undefined reference to `mii_tick' if_ed.o: In function `ed_init': if_ed.o(.text+0x2afb): undefined reference to `mii_mediachg' if_ed.o: In function `ed_ifmedia_upd': if_ed.o(.text+0x4dca): undefined reference to `mii_mediachg' if_ed.o: In function `ed_ifmedia_sts': if_ed.o(.text+0x4e03): undefined reference to `mii_pollstat' *** Error code 1 Stop in /usr/obj/usr/src/sys/PULS. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Then I've add miibus support: device miibus and kernel have been compiled. Why there is no anything about miibus in LINT when use ISA NIC (only PCI adapters) such as NE2000. May be add that useful commetnts in LINT in order to other people don't have this trouble. May be I'm mistake? Thank you. -- Lev Klimin mailto:levanty@mari-el.ru (8362) 42-15-49 From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 07:01:31 2004 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 5270316A4CE for ; Sun, 18 Jan 2004 07:01:31 -0800 (PST) Received: from rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FE7743D2D for ; Sun, 18 Jan 2004 07:01:29 -0800 (PST) (envelope-from itetcu@apropo.ro) Received: (qmail 21052 invoked from network); 18 Jan 2004 15:01:27 -0000 Received: from unknown (HELO it.buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 18 Jan 2004 15:01:27 -0000 Date: Sun, 18 Jan 2004 17:03:04 +0200 From: Ion-Mihai Tetcu To: "Rickard Dahlstrand" Message-Id: <20040118170304.0ffce138@it.buh.cameradicommercio.ro> In-Reply-To: <007701c3ddaf$8c58f000$8b01010a@nyalaptopen> References: <007701c3ddaf$8c58f000$8b01010a@nyalaptopen> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Cutting the power without unmounting the filesystem 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, 18 Jan 2004 15:01:31 -0000 On Sun, 18 Jan 2004 11:40:53 +0100 "Rickard Dahlstrand" wrote: > Hi, > > I have a computer that will have it's power removed quite often. In > other word It will not unmount the file system. What kind of > implications does this have in the long term? > > I have discovered that the start-up takes much longer because of > having to clean the file system. Is there a way to prevent this and > what harm can cutting the power have on the system? > > I know of some installations that use read-only mounting. Is it > possible to mount / RO and /etc and /var RW? Will that speed up the > boot process? Yes, edit fstab and change rw in ro for the fs you want to be mounted read-only. It should speed up the boot and give you greater chances in case of desaster. -- IOnut Unregistered ;) FreeBSD user From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 07:09:48 2004 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 5C25E16A4CE for ; Sun, 18 Jan 2004 07:09:48 -0800 (PST) Received: from flock1.newmail.ru (morda.newmail.ru [212.48.140.150]) by mx1.FreeBSD.org (Postfix) with SMTP id 8041E43D49 for ; Sun, 18 Jan 2004 07:09:46 -0800 (PST) (envelope-from novad@newmail.ru) Received: (qmail 29871 invoked from network); 18 Jan 2004 15:09:45 -0000 Received: from unknown (HELO novad) (novad@newmail.ru@212.46.253.72) by smtpd.newmail.ru with SMTP; 18 Jan 2004 15:09:45 -0000 Date: Sun, 18 Jan 2004 18:09:44 +0300 From: =?Windows-1251?B?wOvl6vHl6SDE7Ojy8Ojl4uj3?= X-Mailer: The Bat! (v2.01) X-Priority: 3 (Normal) Message-ID: <926980887.20040118180944@newmail.ru> To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit Subject: Problem with foppy drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: =?Windows-1251?B?wOvl6vHl6SDE7Ojy8Ojl4uj3?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 15:09:48 -0000 Hello , Support I used my floppy just now in Ms Windows XP and it works. Also i used it in ASPlinux 7.2 and Linux Mandrake 9.1 (russian) and it worked very good. So what should i do. if it is possible please write as detailly as possible because i know FreeBSD badly (i use it for about 3 weeks) This boot error message general means that your floppy drive is broken. When was the last time you used it? Try to verify that it's in working order by booting an MS/Window system on that PC, or swap that floppy drive with one from some other PC that you can test works first. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Àëåêñåé Äìèòðèåâè÷ Sent: Sunday, January 18, 2004 8:28 AM To: freebsd-questions@FreeBSD.ORG Subject: FreeBSD support Hello Support, I have a problem my floppy drive does not want to work. when my FreeBSD 5.1 boots I have a message fdc0: cmd 3 faild at out byte 1 of 3 and cannot reserve I/O port range (6 port) After logining I cannot use my floppy drive- there is no device file. What should I do? -- Best regards, Alexey mailto:novad@newmail.ru _______________________________________________ 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" __________ -- Best regards, Àëåêñåé mailto:novad@newmail.ru From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 07:10:38 2004 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 E1CAD16A4CE for ; Sun, 18 Jan 2004 07:10:38 -0800 (PST) Received: from mail.romat.com (mail.romat.com [212.143.245.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FE9043D67 for ; Sun, 18 Jan 2004 07:10:19 -0800 (PST) (envelope-from gilad_bsd@romat.com) Received: from localhost (localhost.lan [127.0.0.1]) by mail.romat.com (Postfix) with ESMTP id D31E7EB2A9; Sun, 18 Jan 2004 17:10:15 +0200 (IST) Received: from mail.romat.com ([192.168.1.10]) by localhost (ladon.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 42438-05; Sun, 18 Jan 2004 17:10:14 +0200 (IST) Received: from romat.com (unknown [192.168.1.199]) by mail.romat.com (Postfix) with ESMTP id 809D1EB29D; Sun, 18 Jan 2004 17:10:14 +0200 (IST) Message-ID: <400AA0B6.3040806@romat.com> Date: Sun, 18 Jan 2004 17:05:26 +0200 From: Gilad Rom Organization: Romat Telecom User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd@sp1r1t.de References: <200401181444.i0IEiGpU024042@webmailer.hosteurope.de> In-Reply-To: <200401181444.i0IEiGpU024042@webmailer.hosteurope.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: gnome startup : \"can\'t find /dev/sound/mixer\" 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, 18 Jan 2004 15:10:39 -0000 freebsd@sp1r1t.de wrote: > Hello everybody, > > > I have FreeBSD 4.8 installed on an AMD thunderbird 800 and i am using gnome. > everytime i start gnome, i get the error message \"cant open /dev/sound/mixer\". > There is a Sound Blaster 128 Pro PCI installed in the box, but neither does /dev/sound > exist, nor can i spot anything that looks as if it could be a sound card in the output of dmesg. > > a threat at linuxquestions.org [1] exists that seems to describe the same problem and someone claims the solution was to rebuild the kernel with soundcart support, but noone did further comment on that proposal. > > is there no sound card support in freebsd 4.8 by default? do i have to rebuild the kernel? > or is there another solution to my problem? > > thanks for your annswers, > > tim > freebsd@sp1r1t.de > > [1] http://www.linuxquestions.org/questions/archive/17/2003/06/2/63923 > > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" FreeBSD does not include sound support by default in the GENERIC kernel. There are, however, loadable kernel modules which you can load to introduce sound support into the kernel. try 'kldload snd_pcm', and then 'cat /dev/sndstat'. /dev/sndstat should contain a description of your sound card. Also, try 'man pcm'. Gilad. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 07:55:30 2004 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 913D116A4CE for ; Sun, 18 Jan 2004 07:55:30 -0800 (PST) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FF3843D31 for ; Sun, 18 Jan 2004 07:55:28 -0800 (PST) (envelope-from nkinkade@fastmail.fm) X-Sasl-enc: gCZWWfvYli86cYM9XjZjzQ 1074441284 Received: from [206.26.199.146] (unknown [206.27.244.214]) by www.fastmail.fm (Postfix) with ESMTP id EFE414AC854; Sun, 18 Jan 2004 10:54:43 -0500 (EST) Received: from nkinkade by [206.26.199.146] with local (Exim 4.12) id 1AiFFn-0000f6-00; Sun, 18 Jan 2004 09:54:23 -0600 Date: Sun, 18 Jan 2004 09:54:23 -0600 From: Nathan Kinkade To: Gary Kline Message-ID: <20040118155423.GM5411@npkfbsd> Mail-Followup-To: Gary Kline , FreeBSD Mailing List References: <20040118030911.GA18161@tao.thought.org> <20040118034842.GA80517@madras.dyndns.org> <20040118050645.GB68597@tao.thought.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hR5hZbB3sAoKVpMi" Content-Disposition: inline In-Reply-To: <20040118050645.GB68597@tao.thought.org> User-Agent: Mutt/1.4.1i Sender: Nathan Kinkade cc: FreeBSD Mailing List Subject: Re: stumped... . X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 15:55:30 -0000 --hR5hZbB3sAoKVpMi Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 17, 2004 at 09:06:45PM -0800, Gary Kline wrote: > On Sun, Jan 18, 2004 at 02:48:42PM +1100, Gautam Gopalakrishnan wrote: > > On Sat, Jan 17, 2004 at 07:09:12PM -0800, Gary Kline wrote: > > >=20 > > > I've written scores of scripts to hack text files, but this > > > one has me dead in the water. > > >=20 > > > How can I delete all lines from /^PATTERN to EOF?? > > >=20 > >=20 > > sed -e '/pattern/,$d' > >=20 >=20 > Yep. Thisis what i used, in fact. thanks. >=20 > gary Here is another option using sed that takes 2 less keystrokes :) $ sed -e '/pattern/q' Nathan --=20 gpg --keyserver pgp.mit.edu --recv-keys D8527E49 --hR5hZbB3sAoKVpMi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQFACqwvO0ZIEthSfkkRAl/gAJ0e7TLnrWMYcurld/7pAKXdy42r/gCeO6ug Pz+KIuCZ6UB3i/fEDuXTbYs= =NKts -----END PGP SIGNATURE----- --hR5hZbB3sAoKVpMi-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 07:57:21 2004 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 7FD2E16A4CE for ; Sun, 18 Jan 2004 07:57:21 -0800 (PST) Received: from jorn.servebeer.com (node-c-0ab6.a2000.nl [62.194.10.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36BF143D2F for ; Sun, 18 Jan 2004 07:57:20 -0800 (PST) (envelope-from jorn@jorn.servebeer.com) Received: from jorn.servebeer.com (localhost [127.0.0.1]) by jorn.servebeer.com (Postfix) with SMTP id 7193B17064; Sun, 18 Jan 2004 16:55:37 +0100 (CET) Received: from 172.16.1.2 (SquirrelMail authenticated user jorn) by jorn.servebeer.com with HTTP; Sun, 18 Jan 2004 16:55:37 +0100 (CET) Message-ID: <49890.172.16.1.2.1074441337.squirrel@jorn.servebeer.com> In-Reply-To: References: Date: Sun, 18 Jan 2004 16:55:37 +0100 (CET) From: "Jorn Argelo" To: "Vahric MUHTARYAN" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal cc: questions@freebsd.org Subject: Re: installation problem with AMD CPU and Board 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, 18 Jan 2004 15:57:21 -0000 > Hi Everybody , > > I want to install FreeBSD 4.9 or 4.9 but after installation finished > then system try to boot again after reset but it's delayed on this > sentence. > > > ** > Agp0: mem > 0xf4300000-0xf4300ffff,0xf8000000-0xfbffffff id device 0.0 on pci0 > ** But is it really a problem? Do you experience stability problems or anything? If not, then I guess it's not really much of a problem. And what is the time of the delay? My FreeBSD 5.1-RELEASE hangs a bit during the detection of my IDE controller, but it's rock-solid. I guess you shouldn't worry too much about it unless it gives serious problems. > it's interesting, I'm installed 4.9 and 4.8 via Floppy drive then I try to > install FreeBSD 5.1 and 5.2 because I think that maybe unsupported drive > it's delayed on same place ( I can't see the sysinstall menu ) ?!?!?! > I don't understand why I can pass this section via floppy ?! Umm...I seriously don't understand anything of this sentence > > I checked http://www.freebsd.org/releases/4.9R/hardware-i386.html#AEN16 > page > but I can't find any informaiton that my board supported or not ?! > > > Any idea ?! > > Vahric MUHTARYAN > > _______________________________________________ > 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 Jan 18 08:09:12 2004 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 AFB3A16A4CE for ; Sun, 18 Jan 2004 08:09:12 -0800 (PST) Received: from web12602.mail.yahoo.com (web12602.mail.yahoo.com [216.136.173.225]) by mx1.FreeBSD.org (Postfix) with SMTP id 8233243D5F for ; Sun, 18 Jan 2004 08:09:10 -0800 (PST) (envelope-from samlong0007@yahoo.com) Message-ID: <20040118160910.9431.qmail@web12602.mail.yahoo.com> Received: from [195.161.35.21] by web12602.mail.yahoo.com via HTTP; Sun, 18 Jan 2004 08:09:10 PST Date: Sun, 18 Jan 2004 08:09:10 -0800 (PST) From: sam Long To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-hackers@freebsd.org Subject: Real Time FreeBSD?!!! 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, 18 Jan 2004 16:09:12 -0000 I have a system FreeBSD 5.1-p11. How will develop further FreeBSD? How real time is possible to make from FreeBSD operational system? I know, that in FreeBSD there are expansions real time of standard POSIX. I have a small kernel of system due to modules, but on how many stably such kernel? What problems can be?I have born all modules for limits of a kernel. Thank you for the help Den. __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 08:31:19 2004 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 4D16116A4CE for ; Sun, 18 Jan 2004 08:31:19 -0800 (PST) Received: from ns2.alphaque.com (ns2.alphaque.com [202.75.47.153]) by mx1.FreeBSD.org (Postfix) with SMTP id 88F1843D45 for ; Sun, 18 Jan 2004 08:31:16 -0800 (PST) (envelope-from dinesh@alphaque.com) Received: (qmail 61140 invoked by uid 0); 18 Jan 2004 16:31:11 -0000 Received: from lucifer.net-gw.com (HELO prophet.alphaque.com) (202.75.47.153) by lucifer.net-gw.com with SMTP; 18 Jan 2004 16:31:11 -0000 Received: from localhost (localhost.alphaque.com [127.0.0.1]) by prophet.alphaque.com (8.12.10/8.12.9) with ESMTP id i0IGQXlv059076; Mon, 19 Jan 2004 00:26:33 +0800 (MYT) (envelope-from dinesh@alphaque.com) Date: Mon, 19 Jan 2004 00:26:33 +0800 (MYT) From: Dinesh Nair To: Chris Knipe In-Reply-To: <20040118095408.C91ED43D48@mx1.FreeBSD.org> Message-ID: <20040119002507.V98208-100000@prophet.alphaque.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Loading balancing with more than one ISP. 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, 18 Jan 2004 16:31:19 -0000 On Sun, 18 Jan 2004, Chris Knipe wrote: > I have a service set up, some.host IN A A.A.A.x (i.e. in network A and > gateway A). Now, the moment some one from network B connects to the > service I've setup on network A, the FreeBSD Box will route the reply > packets out on network B (because of the client's address) and hence, it > follows a invalid networ path and the connection fails. The same will > also happen when someone from Network A tries to connect to a IP on > Network B.... ex: don't understand this, it should work. what you're describing seems to be a dual homed freebsd set up as a simple gateway between two networks. > If I can manage to solve this, then I'll be a *VERY* happy chappy. But try applying the multipath patches to freebsd. that should give you the ability to route a same network to two different gateways. Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+ From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 08:31:31 2004 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 E380316A4CE for ; Sun, 18 Jan 2004 08:31:31 -0800 (PST) Received: from ns2.alphaque.com (ns2.alphaque.com [202.75.47.153]) by mx1.FreeBSD.org (Postfix) with SMTP id CDEF243D48 for ; Sun, 18 Jan 2004 08:31:24 -0800 (PST) (envelope-from dinesh@alphaque.com) Received: (qmail 61178 invoked by uid 0); 18 Jan 2004 16:31:23 -0000 Received: from lucifer.net-gw.com (HELO prophet.alphaque.com) (202.75.47.153) by lucifer.net-gw.com with SMTP; 18 Jan 2004 16:31:23 -0000 Received: from localhost (localhost.alphaque.com [127.0.0.1]) by prophet.alphaque.com (8.12.10/8.12.9) with ESMTP id i0IGSelv059084; Mon, 19 Jan 2004 00:28:40 +0800 (MYT) (envelope-from dinesh@alphaque.com) Date: Mon, 19 Jan 2004 00:28:40 +0800 (MYT) From: Dinesh Nair To: Gilad Rom In-Reply-To: <400A6E8B.2090009@romat.com> Message-ID: <20040119002730.B98208-100000@prophet.alphaque.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Success with Symantec Ghost 7 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, 18 Jan 2004 16:31:32 -0000 On Sun, 18 Jan 2004, Gilad Rom wrote: > I'm using dd if=/dev/ad0 of=/dev/ad2 bs=16k for my disks (2x20GB, EIDE, > UDMA100), and it takes roughly 28 minutes. i've used dd to ghost two 36GB scsi hard disks on two separate controllers in about 18 minutes. i used 1024k as my block size. using 10240K as block size slowed it down somewhat, coming in at about 30 minutes. Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+ From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 08:34:15 2004 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 2CC3116A4CE for ; Sun, 18 Jan 2004 08:34:15 -0800 (PST) Received: from ms-smtp-02-eri0.southeast.rr.com (ms-smtp-02-lbl.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ED3D43D3F for ; Sun, 18 Jan 2004 08:34:13 -0800 (PST) (envelope-from wegster@mindcore.net) Received: from mindcore.net (rdu162-234-100.nc.rr.com [24.162.234.100]) i0IGY9Yr007006; Sun, 18 Jan 2004 11:34:10 -0500 (EST) Message-ID: <400AB581.9030202@mindcore.net> Date: Sun, 18 Jan 2004 11:34:09 -0500 From: Scott W User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031129 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ecrist@adtechintegrated.com References: <200401172159.37521.ecrist@adtechintegrated.com> In-Reply-To: <200401172159.37521.ecrist@adtechintegrated.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org Subject: Re: Text parsing? 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, 18 Jan 2004 16:34:15 -0000 Eric F Crist wrote: >Hello group, > >For what purposes will I find I need to use all these tools you write about? >I'm talking about awk, ed, ex, etc. I haven't found the need to do so, yet, >but I'd like to possibly learn this stuff before I really do need it. > > > Depends on what your system is used for- I've used the previously mentioned tools almost daily when working as a sysadmin- for monitoring disk qusage, process CPU usage, parsing output (log and standalone application one-time logs), install logs....you name it. Scott From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 08:34:17 2004 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 98DB016A4CE for ; Sun, 18 Jan 2004 08:34:17 -0800 (PST) Received: from cicero0.cybercity.dk (cicero0.cybercity.dk [212.242.40.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id C380B43D39 for ; Sun, 18 Jan 2004 08:34:12 -0800 (PST) (envelope-from freebsd@mwi.dk) Received: from mwi.dk (port553.ds1-vby.adsl.cybercity.dk [217.157.161.246]) by cicero0.cybercity.dk (Postfix) with ESMTP id 6C09D29C78 for ; Sun, 18 Jan 2004 17:34:10 +0100 (CET) Message-ID: <400AB621.8050907@mwi.dk> Date: Sun, 18 Jan 2004 17:36:49 +0100 From: Morten Winther User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030916 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: quoted-printable Subject: PPTP with mpd 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, 18 Jan 2004 16:34:17 -0000 Hello I've been trying to get PPTP with mpd to work - but no luck so far. I've a W2K client at home on my ADSL and would like to connect a=20 central server hosted in a datacenter to pass on trafic further to the=20 internet. I connect just fine using the PPTP client in W2K, but there is no=20 routing of trafic. I can't even ping the PPTP server from client when=20 VPN is on. The server has IP 217.116.240.252 and I would like that mpd gives=20 217.116.240.153 and 217.116.240.153 to the clients. (all public IPs) Do I need to divert or do anything special in ipwf or compile the kernel = with new options? I hope someone is able to give me some good hints. Best regards Morten Further info: W2K client: Ethernet netv=E6rkskort LAN-forbindelse: Forbindelsesspecifikt DNS-suffiks : IP-adresse. . . . . . . . . . . . : 192.168.0.23 Undernetmaske . . . . . . . . . . : 255.255.255.0 Standardgateway . . . . . . . . . : 192.168.0.1 PPP netv=E6rkskort VPN Gaia: Forbindelsesspecifikt DNS-suffiks : IP-adresse. . . . . . . . . . . . : 217.157.161.246 Undernetmaske . . . . . . . . . . : 255.255.255.255 Standardgateway . . . . . . . . . : 217.157.161.246 From log: Jan 18 16:52:59 gaia /kernel: arplookup 217.116.240.158 failed: host is=20 not on local network Jan 18 16:52:59 gaia /kernel: arpresolve: can't allocate llinfo for=20 217.116.240.158rt IPFW: root@gaia [/usr/local/etc/mpd] # ipfw list 00001 allow ip from any to any 00100 allow ip from any to any 00101 allow tcp from any to any 00102 allow gre from any to any 09000 allow icmp from any to any icmptype 0,3,4,8,11,12 10000 allow ip from any to any frag 65535 deny ip from any to any root@gaia [/usr/local/etc/mpd] # cat mpd.conf default: load pptp0 load pptp1 pptp0: new -i ng0 pptp0 pptp0 set iface disable on-demand #set iface route 217.116.240.158 set iface enable proxy-arp set iface idle 1800 set bundle disable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 600 1800 set ipcp yes vjcomp set ipcp ranges 217.116.240.252/32 217.116.240.153/28 set ipcp dns 212.242.40.3 #set ipcp nbns 192.168.71.120 log +pptp3 +bund +link +chat +lcp +auth +fsm +phys +ipcp set bundle enable compression set ccp yes mppc #set ccp yes mpp-e40 set ccp no mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless set bundle yes crypt-reqd pptp1: new -i ng1 pptp1 pptp1 set iface disable on-demand #set iface route 217.116.240.158 set iface enable proxy-arp set iface idle 1800 set bundle disable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 600 1800 set ipcp yes vjcomp set ipcp ranges 217.116.240.152/32 217.116.240.154/28 set ipcp dns 212.242.40.3 #set ipcp nbns 192.168.71.120 log +pptp3 +bund +link +chat +lcp +auth +fsm +phys +ipcp set bundle enable compression set ccp yes mppc #set ccp yes mpp-e40 set ccp no mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless set bundle yes crypt-reqd root@gaia [/usr/local/etc/mpd] # cat mpd.links pptp0: set link type pptp set pptp self 217.116.240.152 set pptp enable incoming set pptp disable originate pptp1: set link type pptp set pptp self 217.116.240.152 set pptp enable incoming set pptp disable originate Setup: W2K pptp client | Cisco 667 Router with NAT | ADSL connection | My ISP | Internet | My dedicated server with mpd (PPTP server) Jan 18 16:55:25 gaia mpd: mpd: pid 2236, version 3.16 (root@gaia.o0o.dk=20 16:56 17-Jan-2004) Jan 18 16:55:25 gaia mpd: [pptp0] ppp node is "mpd2236-pptp0" Jan 18 16:55:25 gaia mpd: mpd: local IP address for PPTP is 217.116.240.1= 52 Jan 18 16:55:25 gaia mpd: [pptp0] using interface ng0 Jan 18 16:55:25 gaia mpd: [pptp1] ppp node is "mpd2236-pptp1" Jan 18 16:55:25 gaia mpd: [pptp1] using interface ng1 Jan 18 16:55:37 gaia mpd: mpd: PPTP connection from 217.157.161.246:17023= Jan 18 16:55:37 gaia mpd: pptp0: attached to connection with=20 217.157.161.246:17023 Jan 18 16:55:37 gaia mpd: pptp0: read ctrl data: Jan 18 16:55:37 gaia mpd: 00 9c 00 01 1a 2b 3c 4d 00 01 00=20 00 .....+ Starting= Jan 18 16:55:37 gaia mpd: [pptp0] IPCP: LayerStart Jan 18 16:55:37 gaia mpd: [pptp0] IPCP: Open event Jan 18 16:55:37 gaia mpd: [pptp0] bundle: OPEN event in state CLOSED Jan 18 16:55:37 gaia mpd: [pptp0] opening link "pptp0"... Jan 18 16:55:37 gaia mpd: [pptp0] link: OPEN event Jan 18 16:55:37 gaia mpd: [pptp0] LCP: Open event Jan 18 16:55:37 gaia mpd: [pptp0] LCP: state change Initial --> Starting Jan 18 16:55:37 gaia mpd: [pptp0] LCP: LayerStart Jan 18 16:55:37 gaia mpd: [pptp0] device: OPEN event in state DOWN Jan 18 16:55:37 gaia mpd: [pptp0] attaching to peer's outgoing call Jan 18 16:55:37 gaia mpd: pptp0: wrote ctrl data: Jan 18 16:55:37 gaia mpd: 00 20 00 01 1a 2b 3c 4d 00 08 00 00 bb ee 00=20 00 .....+ Req-Sent= Jan 18 16:55:37 gaia mpd: [pptp0] LCP: phase shift DEAD --> ESTABLISH Jan 18 16:55:37 gaia mpd: [pptp0] LCP: SendConfigReq #1 Jan 18 16:55:37 gaia mpd: ACFCOMP Jan 18 16:55:37 gaia mpd: PROTOCOMP Jan 18 16:55:37 gaia mpd: MRU 1500 Jan 18 16:55:37 gaia mpd: MAGICNUM 87b71788 Jan 18 16:55:37 gaia mpd: AUTHPROTO CHAP MSOFTv2 Jan 18 16:55:37 gaia mpd: pptp0: read ctrl data: Jan 18 16:55:37 gaia mpd: 00 18 00 01 1a 2b 3c 4d 00 0f 00=20 00 .....+ Ack-Sent= Jan 18 16:55:39 gaia mpd: [pptp0] LCP: SendConfigReq #2 Jan 18 16:55:39 gaia mpd: ACFCOMP Jan 18 16:55:39 gaia mpd: PROTOCOMP Jan 18 16:55:39 gaia mpd: MRU 1500 Jan 18 16:55:39 gaia mpd: MAGICNUM 87b71788 Jan 18 16:55:39 gaia mpd: AUTHPROTO CHAP MSOFTv2 Jan 18 16:55:39 gaia mpd: [pptp0] LCP: rec'd Configure Ack #2 link 0=20 (Ack-Sent) Jan 18 16:55:39 gaia mpd: ACFCOMP Jan 18 16:55:39 gaia mpd: PROTOCOMP Jan 18 16:55:39 gaia mpd: MRU 1500 Jan 18 16:55:39 gaia mpd: MAGICNUM 87b71788 Jan 18 16:55:39 gaia mpd: AUTHPROTO CHAP MSOFTv2 Jan 18 16:55:39 gaia mpd: [pptp0] LCP: state change Ack-Sent --> Opened Jan 18 16:55:39 gaia mpd: [pptp0] LCP: phase shift ESTABLISH -->=20 AUTHENTICATE Jan 18 16:55:39 gaia mpd: [pptp0] LCP: auth: peer wants nothing, I want C= HAP Jan 18 16:55:39 gaia mpd: [pptp0] CHAP: sending CHALLENGE Jan 18 16:55:39 gaia mpd: [pptp0] LCP: LayerUp Jan 18 16:55:39 gaia mpd: pptp0: read ctrl data: Jan 18 16:55:39 gaia mpd: 00 18 00 01 1a 2b 3c 4d 00 0f 00=20 00 .....+ NETWO= RK Jan 18 16:55:40 gaia mpd: [pptp0] setting interface ng0 MTU to 1500 bytes= Jan 18 16:55:40 gaia mpd: [pptp0] up: 1 link, total bandwidth 64000 bps Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: Up event Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: state change Starting --> Req-Sen= t Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: SendConfigReq #1 Jan 18 16:55:40 gaia mpd: IPADDR 217.116.240.252 Jan 18 16:55:40 gaia mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-c= id Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Open event Jan 18 16:55:40 gaia mpd: [pptp0] CCP: state change Initial --> Starting Jan 18 16:55:40 gaia mpd: [pptp0] CCP: LayerStart Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Up event Jan 18 16:55:40 gaia mpd: [pptp0] CCP: state change Starting --> Req-Sent= Jan 18 16:55:40 gaia mpd: [pptp0] CCP: SendConfigReq #1 Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Checking whether 40 bits are=20 enabled -> no Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Checking whether 56 bits are=20 enabled -> no Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Checking whether 128 bits are=20 enabled -> yes Jan 18 16:55:40 gaia mpd: MPPC Jan 18 16:55:40 gaia mpd: 0x01000040: MPPE, 128 bit, stateless Jan 18 16:55:40 gaia mpd: [pptp0] CCP: rec'd Configure Request #4 link 0 = (Req-Sent) Jan 18 16:55:40 gaia mpd: MPPC Jan 18 16:55:40 gaia mpd: 0x010000e1: MPPC MPPE, 40 bit, 56 bit, 128=20 bit, stateless Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Checking whether 40 bits are=20 acceptable -> no Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Checking whether 56 bits are=20 acceptable -> no Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Checking whether 128 bits are=20 acceptable -> yes Jan 18 16:55:40 gaia mpd: [pptp0] CCP: SendConfigNak #4 Jan 18 16:55:40 gaia mpd: MPPC Jan 18 16:55:40 gaia mpd: 0x01000040: MPPE, 128 bit, stateless Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: rec'd Configure Request #5 link=20 0 (Req-Sent) Jan 18 16:55:40 gaia mpd: IPADDR 0.0.0.0 Jan 18 16:55:40 gaia mpd: NAKing with 217.157.161.246 Jan 18 16:55:40 gaia mpd: PRIDNS 0.0.0.0 Jan 18 16:55:40 gaia mpd: NAKing with 212.242.40.3 Jan 18 16:55:40 gaia mpd: PRINBNS 0.0.0.0 Jan 18 16:55:40 gaia mpd: SECDNS 0.0.0.0 Jan 18 16:55:40 gaia mpd: SECNBNS 0.0.0.0 Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: SendConfigRej #5 Jan 18 16:55:40 gaia mpd: PRINBNS 0.0.0.0 Jan 18 16:55:40 gaia mpd: SECDNS 0.0.0.0 Jan 18 16:55:40 gaia mpd: SECNBNS 0.0.0.0 Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: rec'd Configure Reject #1 link 0 = (Req-Sent) Jan 18 16:55:40 gaia mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-c= id Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: SendConfigReq #2 Jan 18 16:55:40 gaia mpd: IPADDR 217.116.240.252 Jan 18 16:55:40 gaia mpd: [pptp0] CCP: rec'd Configure Ack #1 link 0=20 (Req-Sent) Jan 18 16:55:40 gaia mpd: MPPC Jan 18 16:55:40 gaia mpd: 0x01000040: MPPE, 128 bit, stateless Jan 18 16:55:40 gaia mpd: [pptp0] CCP: state change Req-Sent --> Ack-Rcvd= Jan 18 16:55:40 gaia mpd: [pptp0] CCP: rec'd Configure Request #6 link 0 = (Ack-Rcvd) Jan 18 16:55:40 gaia mpd: MPPC Jan 18 16:55:40 gaia mpd: 0x01000040: MPPE, 128 bit, stateless Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Checking whether 128 bits are=20 acceptable -> yes Jan 18 16:55:40 gaia mpd: [pptp0] CCP: SendConfigAck #6 Jan 18 16:55:40 gaia mpd: MPPC Jan 18 16:55:40 gaia mpd: 0x01000040: MPPE, 128 bit, stateless Jan 18 16:55:40 gaia mpd: [pptp0] CCP: state change Ack-Rcvd --> Opened Jan 18 16:55:40 gaia mpd: [pptp0] CCP: LayerUp Jan 18 16:55:40 gaia mpd: Compress using: MPPE, 128 bit, stateless Jan 18 16:55:40 gaia mpd: Decompress using: MPPE, 128 bit, stateless Jan 18 16:55:40 gaia mpd: [pptp0] setting interface ng0 MTU to 1496 bytes= Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: rec'd Configure Request #7 link=20 0 (Req-Sent) Jan 18 16:55:40 gaia mpd: IPADDR 0.0.0.0 Jan 18 16:55:40 gaia mpd: NAKing with 217.157.161.246 Jan 18 16:55:40 gaia mpd: PRIDNS 0.0.0.0 Jan 18 16:55:40 gaia mpd: NAKing with 212.242.40.3 Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: SendConfigNak #7 Jan 18 16:55:40 gaia mpd: IPADDR 217.157.161.246 Jan 18 16:55:40 gaia mpd: PRIDNS 212.242.40.3 Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: rec'd Configure Ack #2 link 0=20 (Req-Sent) Jan 18 16:55:40 gaia mpd: IPADDR 217.116.240.252 Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: state change Req-Sent --> Ack-Rcv= d Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: rec'd Configure Request #8 link=20 0 (Ack-Rcvd) Jan 18 16:55:40 gaia mpd: IPADDR 217.157.161.246 Jan 18 16:55:40 gaia mpd: 217.157.161.246 is OK Jan 18 16:55:40 gaia mpd: PRIDNS 212.242.40.3 Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: SendConfigAck #8 Jan 18 16:55:40 gaia mpd: IPADDR 217.157.161.246 Jan 18 16:55:40 gaia mpd: PRIDNS 212.242.40.3 Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: state change Ack-Rcvd --> Opened Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: LayerUp Jan 18 16:55:40 gaia mpd: 217.116.240.252 -> 217.157.161.246 Jan 18 16:55:40 gaia mpd: [pptp0] IFACE: Up event Jan 18 16:55:40 gaia mpd: [pptp0] setting interface ng0 MTU to 1496 bytes= Jan 18 16:55:40 gaia mpd: [pptp0] exec: /sbin/ifconfig ng0=20 217.116.240.252 217.157.161.246 netmask 0xffffffff -link0 Jan 18 16:55:40 gaia mpd: [pptp0] no interface to proxy arp on for=20 217.157.161.246 Jan 18 16:55:40 gaia mpd: [pptp0] exec: /sbin/route add 217.116.240.252=20 -iface lo0 Jan 18 16:55:40 gaia mpd: [pptp0] IFACE: Up event Jan 18 16:56:40 gaia mpd: pptp0: wrote ctrl data: Jan 18 16:56:40 gaia mpd: 00 10 00 01 1a 2b 3c 4d 00 05 00 00 00 00 00=20 01 .....+ Closing Jan 18 16:57:40 gaia mpd: [pptp0] IPCP: SendTerminateReq #3 Jan 18 16:57:40 gaia mpd: [pptp0] error writing len 8 frame to bypass:=20 Network is down Jan 18 16:57:40 gaia mpd: [pptp0] IPCP: LayerDown Jan 18 16:57:40 gaia mpd: [pptp0] IFACE: Down event Jan 18 16:57:40 gaia mpd: [pptp0] IFACE: Close event Jan 18 16:57:40 gaia mpd: [pptp0] device: DOWN event in state UP Jan 18 16:57:40 gaia mpd: [pptp0] device is now in state DOWN Jan 18 16:57:40 gaia mpd: [pptp0] link: DOWN event Jan 18 16:57:40 gaia mpd: [pptp0] LCP: Down event Jan 18 16:57:40 gaia mpd: [pptp0] LCP: state change Opened --> Starting Jan 18 16:57:40 gaia mpd: [pptp0] LCP: phase shift NETWORK --> DEAD Jan 18 16:57:40 gaia mpd: [pptp0] setting interface ng0 MTU to 1500 bytes= Jan 18 16:57:40 gaia mpd: [pptp0] up: 0 links, total bandwidth 9600 bps Jan 18 16:57:40 gaia mpd: [pptp0] IPCP: Down event Jan 18 16:57:40 gaia mpd: [pptp0] IPCP: LayerFinish Jan 18 16:57:40 gaia mpd: [pptp0] IPCP: state change Closing --> Initial Jan 18 16:57:40 gaia mpd: [pptp0] CCP: Down event Jan 18 16:57:40 gaia mpd: [pptp0] CCP: state change Opened --> Starting Jan 18 16:57:40 gaia mpd: [pptp0] CCP: LayerDown Jan 18 16:57:40 gaia mpd: [pptp0] CCP: Close event Jan 18 16:57:40 gaia mpd: [pptp0] CCP: state change Starting --> Initial Jan 18 16:57:40 gaia mpd: [pptp0] CCP: LayerFinish Jan 18 16:57:40 gaia mpd: [pptp0] LCP: LayerDown Jan 18 16:57:40 gaia mpd: [pptp0] bundle: CLOSE event in state OPENED Jan 18 16:57:40 gaia mpd: [pptp0] closing link "pptp0"... Jan 18 16:57:40 gaia mpd: [pptp0] device: OPEN event in state DOWN Jan 18 16:57:40 gaia mpd: [pptp0] pausing 9 seconds before open Jan 18 16:57:40 gaia mpd: [pptp0] device is now in state DOWN Jan 18 16:57:40 gaia mpd: [pptp0] link: CLOSE event Jan 18 16:57:40 gaia mpd: [pptp0] LCP: Close event Jan 18 16:57:40 gaia mpd: [pptp0] LCP: state change Starting --> Initial Jan 18 16:57:40 gaia mpd: [pptp0] LCP: LayerFinish Jan 18 16:57:40 gaia mpd: [pptp0] device: CLOSE event in state DOWN Jan 18 16:57:40 gaia mpd: [pptp0] device is now in state DOWN =20 From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 08:37:53 2004 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 A9C2C16A4CE for ; Sun, 18 Jan 2004 08:37:53 -0800 (PST) Received: from ms-smtp-01-eri0.southeast.rr.com (ms-smtp-01-lbl.southeast.rr.com [24.25.9.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41DB943D1D for ; Sun, 18 Jan 2004 08:37:30 -0800 (PST) (envelope-from wegster@mindcore.net) Received: from mindcore.net (rdu162-234-100.nc.rr.com [24.162.234.100]) i0IGbRKY024384; Sun, 18 Jan 2004 11:37:28 -0500 (EST) Message-ID: <400AB647.4060101@mindcore.net> Date: Sun, 18 Jan 2004 11:37:27 -0500 From: Scott W User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031129 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mario Antonio References: <000501c3dd54$f90c4c70$13c01dd0@webjogger.net> In-Reply-To: <000501c3dd54$f90c4c70$13c01dd0@webjogger.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@FreeBSD.ORG Subject: Re: Using Vi through a Serial Console 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, 18 Jan 2004 16:37:53 -0000 Mario Antonio wrote: >Dear List, > >When I make a serial connection to a FreeBSD server that has its serial port >configured as a console, how can I make the "vi" editor work? > > >Mario > >--- >[This e-mail was scanned for viruses by Webjogger's AntiVirus Protection System] > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > export the TERM environment variable from the shell to the correct value, try: TERM=vt100 export TERM as a first shot... Scott From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 08:43:34 2004 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 C739D16A4CF for ; Sun, 18 Jan 2004 08:43:34 -0800 (PST) Received: from mail2.bluewin.ch (mail2.bluewin.ch [195.186.4.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A78F43D1F for ; Sun, 18 Jan 2004 08:42:25 -0800 (PST) (envelope-from martin@saturn.pcs.ms) Received: from saturn.pcs.ms (62.203.36.154) by mail2.bluewin.ch (Bluewin AG 7.0.024) id 3FC346BE006A9EDC; Sun, 18 Jan 2004 16:42:22 +0000 Received: from saturn.pcs.ms (localhost [127.0.0.1]) by saturn.pcs.ms (8.12.9p2/8.12.8) with ESMTP id i0IGoLw0061555; Sun, 18 Jan 2004 17:50:21 +0100 (CET) (envelope-from martin@saturn.pcs.ms) Received: (from martin@localhost) by saturn.pcs.ms (8.12.9p2/8.12.9/Submit) id i0IGoKcd061554; Sun, 18 Jan 2004 17:50:20 +0100 (CET) (envelope-from martin) Date: Sun, 18 Jan 2004 17:50:20 +0100 From: Martin Schweizer To: Morten Winther Message-ID: <20040118165020.GH40783@saturn.pcs.ms> Mail-Followup-To: Morten Winther , freebsd-questions@freebsd.org References: <400AB621.8050907@mwi.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82evfD9Ogz2JrdWZ" Content-Disposition: inline In-Reply-To: <400AB621.8050907@mwi.dk> User-Agent: Mutt/1.4i Organization: PC-Service M. Schweizer, CH-8608 Bubikon, Switzerland X-PGP-Key: http://www.pc-service.ch/pgp/public_key.asc X-Fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239 X-Spam-Status: No, hits=-7.0 required=3.0 tests=IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-questions@freebsd.org Subject: Re: PPTP with mpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Martin Schweizer List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 16:43:34 -0000 --82evfD9Ogz2JrdWZ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Morten I use PopTop a year a go without problrm (http://www.poptop.org). Regards, Martin Am Sun, Jan 18, 2004 at 05:36:49PM +0100 Morten Winther schrieb: > Hello >=20 > I've been trying to get PPTP with mpd to work - but no luck so far. >=20 > I've a W2K client at home on my ADSL and would like to connect a=20 > central server hosted in a datacenter to pass on trafic further to the=20 > internet. >=20 > I connect just fine using the PPTP client in W2K, but there is no=20 > routing of trafic. I can't even ping the PPTP server from client when=20 > VPN is on. >=20 > The server has IP 217.116.240.252 and I would like that mpd gives=20 > 217.116.240.153 and 217.116.240.153 to the clients. (all public IPs) >=20 > Do I need to divert or do anything special in ipwf or compile the kernel= =20 > with new options? >=20 > I hope someone is able to give me some good hints. >=20 > Best regards > Morten >=20 > Further info: >=20 >=20 > W2K client: > Ethernet netv=E6rkskort LAN-forbindelse: >=20 > Forbindelsesspecifikt DNS-suffiks : > IP-adresse. . . . . . . . . . . . : 192.168.0.23 > Undernetmaske . . . . . . . . . . : 255.255.255.0 > Standardgateway . . . . . . . . . : 192.168.0.1 >=20 > PPP netv=E6rkskort VPN Gaia: >=20 > Forbindelsesspecifikt DNS-suffiks : > IP-adresse. . . . . . . . . . . . : 217.157.161.246 > Undernetmaske . . . . . . . . . . : 255.255.255.255 > Standardgateway . . . . . . . . . : 217.157.161.246 >=20 > From log: > Jan 18 16:52:59 gaia /kernel: arplookup 217.116.240.158 failed: host is= =20 > not on local network > Jan 18 16:52:59 gaia /kernel: arpresolve: can't allocate llinfo for=20 > 217.116.240.158rt >=20 > IPFW: > root@gaia [/usr/local/etc/mpd] # ipfw list > 00001 allow ip from any to any > 00100 allow ip from any to any > 00101 allow tcp from any to any > 00102 allow gre from any to any > 09000 allow icmp from any to any icmptype 0,3,4,8,11,12 > 10000 allow ip from any to any frag > 65535 deny ip from any to any >=20 > root@gaia [/usr/local/etc/mpd] # cat mpd.conf > default: > load pptp0 > load pptp1 >=20 > pptp0: > new -i ng0 pptp0 pptp0 > set iface disable on-demand > #set iface route 217.116.240.158 > set iface enable proxy-arp > set iface idle 1800 > set bundle disable multilink > set link yes acfcomp protocomp > set link no pap chap > set link enable chap > set link keep-alive 600 1800 > set ipcp yes vjcomp > set ipcp ranges 217.116.240.252/32 217.116.240.153/28 > set ipcp dns 212.242.40.3 > #set ipcp nbns 192.168.71.120 > log +pptp3 +bund +link +chat +lcp +auth +fsm +phys +ipcp > set bundle enable compression > set ccp yes mppc > #set ccp yes mpp-e40 > set ccp no mpp-e40 > set ccp yes mpp-e128 > set ccp yes mpp-stateless > set bundle yes crypt-reqd >=20 > pptp1: > new -i ng1 pptp1 pptp1 > set iface disable on-demand > #set iface route 217.116.240.158 > set iface enable proxy-arp > set iface idle 1800 > set bundle disable multilink > set link yes acfcomp protocomp > set link no pap chap > set link enable chap > set link keep-alive 600 1800 > set ipcp yes vjcomp > set ipcp ranges 217.116.240.152/32 217.116.240.154/28 > set ipcp dns 212.242.40.3 > #set ipcp nbns 192.168.71.120 > log +pptp3 +bund +link +chat +lcp +auth +fsm +phys +ipcp > set bundle enable compression > set ccp yes mppc > #set ccp yes mpp-e40 > set ccp no mpp-e40 > set ccp yes mpp-e128 > set ccp yes mpp-stateless > set bundle yes crypt-reqd >=20 > root@gaia [/usr/local/etc/mpd] # cat mpd.links > pptp0: > set link type pptp > set pptp self 217.116.240.152 > set pptp enable incoming > set pptp disable originate > pptp1: > set link type pptp > set pptp self 217.116.240.152 > set pptp enable incoming > set pptp disable originate >=20 >=20 >=20 > Setup: >=20 > W2K pptp client > | > Cisco 667 Router with NAT > | > ADSL connection > | > My ISP > | > Internet > | > My dedicated server with mpd (PPTP server) >=20 > Jan 18 16:55:25 gaia mpd: mpd: pid 2236, version 3.16 (root@gaia.o0o.dk= =20 > 16:56 17-Jan-2004) > Jan 18 16:55:25 gaia mpd: [pptp0] ppp node is "mpd2236-pptp0" > Jan 18 16:55:25 gaia mpd: mpd: local IP address for PPTP is 217.116.240.1= 52 > Jan 18 16:55:25 gaia mpd: [pptp0] using interface ng0 > Jan 18 16:55:25 gaia mpd: [pptp1] ppp node is "mpd2236-pptp1" > Jan 18 16:55:25 gaia mpd: [pptp1] using interface ng1 > Jan 18 16:55:37 gaia mpd: mpd: PPTP connection from 217.157.161.246:17023 > Jan 18 16:55:37 gaia mpd: pptp0: attached to connection with=20 > 217.157.161.246:17023 > Jan 18 16:55:37 gaia mpd: pptp0: read ctrl data: > Jan 18 16:55:37 gaia mpd: 00 9c 00 01 1a 2b 3c 4d 00 01 00=20 > 00 .....+ Jan 18 16:55:37 gaia mpd: pptp0: got hdr > Jan 18 16:55:37 gaia mpd: len=3D0x9c msgType=3D1 magic=3D0x1a2b3c4d typ= e=3D1 > Jan 18 16:55:37 gaia mpd: pptp0: read ctrl data: > Jan 18 16:55:37 gaia mpd: 01 00 00 00 00 00 00 01 00 00 00 01 00 00 08= =20 > 93 ................ > Jan 18 16:55:37 gaia mpd: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00= =20 > 00 ................ > Jan 18 16:55:37 gaia last message repeated 3 times > Jan 18 16:55:37 gaia mpd: 4d 69 63 72 6f 73 6f 66 74 20 57 69 6e 64 6f= =20 > 77 Microsoft.Window > Jan 18 16:55:37 gaia mpd: 73 20 4e 54 00 00 00 00 00 00 00 00 00 00 00= =20 > 00 s.NT............ > Jan 18 16:55:37 gaia mpd: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00= =20 > 00 ................ > Jan 18 16:55:37 gaia mpd: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00= =20 > 00 ................ > Jan 18 16:55:37 gaia mpd: pptp0: wrote ctrl data: > Jan 18 16:55:37 gaia mpd: 00 9c 00 01 1a 2b 3c 4d 00 02 00 00 01 00 01= =20 > 00 .....+ Jan 18 16:55:37 gaia mpd: 00 00 00 02 00 00 00 03 00 00 01 01 67 61 69= =20 > 61 ............gaia > Jan 18 16:55:37 gaia mpd: 2e 6f 30 6f 2e 64 6b 00 00 00 00 00 00 00 00= =20 > 00 .o0o.dk......... > Jan 18 16:55:37 gaia mpd: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00= =20 > 00 ................ > Jan 18 16:55:37 gaia mpd: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00= =20 > 00 ................ > Jan 18 16:55:37 gaia mpd: 00 00 00 00 00 00 00 00 00 00 00 00 46 72 65= =20 > 65 ............Free > Jan 18 16:55:37 gaia mpd: 42 53 44 20 6d 70 64 2d 33 2e 31 36 00 00 00= =20 > 00 BSD.mpd-3.16.... > Jan 18 16:55:37 gaia mpd: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00= =20 > 00 ................ > Jan 18 16:55:37 gaia mpd: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00= =20 > 00 ................ > Jan 18 16:55:37 gaia mpd: 00 00 00 00 00 00 00 00 00 00 00=20 > 00 ............ > Jan 18 16:55:37 gaia mpd: pptp0: read ctrl data: > Jan 18 16:55:37 gaia mpd: 00 a8 00 01 1a 2b 3c 4d 00 07 00=20 > 00 .....+ Jan 18 16:55:37 gaia mpd: pptp0: got hdr > Jan 18 16:55:37 gaia mpd: len=3D0xa8 msgType=3D1 magic=3D0x1a2b3c4d typ= e=3D7 > Jan 18 16:55:37 gaia mpd: pptp0: read ctrl data: > Jan 18 16:55:37 gaia mpd: 00 00 dd 54 00 00 01 2c 05 f5 e1 00 00 00 00= =20 > 03 ...T...,........ > Jan 18 16:55:37 gaia mpd: 00 00 00 03 00 40 00 00 00 00 00 00 00 00 00= =20 > 00 .....@.......... > Jan 18 16:55:37 gaia mpd: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00= =20 > 00 ................ > Jan 18 16:55:37 gaia last message repeated 6 times > Jan 18 16:55:37 gaia mpd: 00 00 00 00 00 00 00 00 00 00 00=20 > 00 ............ > Jan 18 16:55:37 gaia mpd: [pptp0] IFACE: Open event > Jan 18 16:55:37 gaia mpd: [pptp0] IPCP: Open event > Jan 18 16:55:37 gaia mpd: [pptp0] IPCP: state change Initial --> Starting > Jan 18 16:55:37 gaia mpd: [pptp0] IPCP: LayerStart > Jan 18 16:55:37 gaia mpd: [pptp0] IPCP: Open event > Jan 18 16:55:37 gaia mpd: [pptp0] bundle: OPEN event in state CLOSED > Jan 18 16:55:37 gaia mpd: [pptp0] opening link "pptp0"... > Jan 18 16:55:37 gaia mpd: [pptp0] link: OPEN event > Jan 18 16:55:37 gaia mpd: [pptp0] LCP: Open event > Jan 18 16:55:37 gaia mpd: [pptp0] LCP: state change Initial --> Starting > Jan 18 16:55:37 gaia mpd: [pptp0] LCP: LayerStart > Jan 18 16:55:37 gaia mpd: [pptp0] device: OPEN event in state DOWN > Jan 18 16:55:37 gaia mpd: [pptp0] attaching to peer's outgoing call > Jan 18 16:55:37 gaia mpd: pptp0: wrote ctrl data: > Jan 18 16:55:37 gaia mpd: 00 20 00 01 1a 2b 3c 4d 00 08 00 00 bb ee 00= =20 > 00 .....+ Jan 18 16:55:37 gaia mpd: 01 00 00 00 00 00 fa 00 00 10 00 01 00 00 00= =20 > 00 ................ > Jan 18 16:55:37 gaia mpd: [pptp0] device is now in state OPENING > Jan 18 16:55:37 gaia mpd: [pptp0] device: UP event in state OPENING > Jan 18 16:55:37 gaia mpd: [pptp0] device is now in state UP > Jan 18 16:55:37 gaia mpd: [pptp0] link: UP event > Jan 18 16:55:37 gaia mpd: [pptp0] link: origination is remote > Jan 18 16:55:37 gaia mpd: [pptp0] LCP: Up event > Jan 18 16:55:37 gaia mpd: [pptp0] LCP: state change Starting --> Req-Sent > Jan 18 16:55:37 gaia mpd: [pptp0] LCP: phase shift DEAD --> ESTABLISH > Jan 18 16:55:37 gaia mpd: [pptp0] LCP: SendConfigReq #1 > Jan 18 16:55:37 gaia mpd: ACFCOMP > Jan 18 16:55:37 gaia mpd: PROTOCOMP > Jan 18 16:55:37 gaia mpd: MRU 1500 > Jan 18 16:55:37 gaia mpd: MAGICNUM 87b71788 > Jan 18 16:55:37 gaia mpd: AUTHPROTO CHAP MSOFTv2 > Jan 18 16:55:37 gaia mpd: pptp0: read ctrl data: > Jan 18 16:55:37 gaia mpd: 00 18 00 01 1a 2b 3c 4d 00 0f 00=20 > 00 .....+ Jan 18 16:55:37 gaia mpd: pptp0: got hdr > Jan 18 16:55:37 gaia mpd: len=3D24 msgType=3D1 magic=3D0x1a2b3c4d type= =3D15 > Jan 18 16:55:37 gaia mpd: pptp0: read ctrl data: > Jan 18 16:55:37 gaia mpd: bb ee 00 00 ff ff ff ff ff ff ff=20 > ff ............ > Jan 18 16:55:37 gaia mpd: pptp0-0: ignoring SetLinkInfo > Jan 18 16:55:37 gaia mpd: [pptp0] LCP: rec'd Configure Request #0 link 0= =20 > (Req-Sent) > Jan 18 16:55:37 gaia mpd: MAGICNUM 319a6ba4 > Jan 18 16:55:37 gaia mpd: PROTOCOMP > Jan 18 16:55:37 gaia mpd: ACFCOMP > Jan 18 16:55:37 gaia mpd: CALLBACK > Jan 18 16:55:37 gaia mpd: Not supported > Jan 18 16:55:37 gaia mpd: MP MRRU 1614 > Jan 18 16:55:37 gaia mpd: ENDPOINTDISC [LOCAL] 1b c1 69 8d aa bb 40 41= =20 > b7 ca 7c 41 7c c5 1f cb 00 00 00 03 > Jan 18 16:55:37 gaia mpd: [pptp0] LCP: SendConfigRej #0 > Jan 18 16:55:37 gaia mpd: CALLBACK > Jan 18 16:55:37 gaia mpd: MP MRRU 1614 > Jan 18 16:55:37 gaia mpd: [pptp0] LCP: rec'd Configure Request #1 link 0= =20 > (Req-Sent) > Jan 18 16:55:37 gaia mpd: MAGICNUM 319a6ba4 > Jan 18 16:55:37 gaia mpd: PROTOCOMP > Jan 18 16:55:37 gaia mpd: ACFCOMP > Jan 18 16:55:37 gaia mpd: ENDPOINTDISC [LOCAL] 1b c1 69 8d aa bb 40 41= =20 > b7 ca 7c 41 7c c5 1f cb 00 00 00 03 > Jan 18 16:55:37 gaia mpd: [pptp0] LCP: SendConfigAck #1 > Jan 18 16:55:37 gaia mpd: MAGICNUM 319a6ba4 > Jan 18 16:55:37 gaia mpd: PROTOCOMP > Jan 18 16:55:37 gaia mpd: ACFCOMP > Jan 18 16:55:37 gaia mpd: ENDPOINTDISC [LOCAL] 1b c1 69 8d aa bb 40 41= =20 > b7 ca 7c 41 7c c5 1f cb 00 00 00 03 > Jan 18 16:55:37 gaia mpd: [pptp0] LCP: state change Req-Sent --> Ack-Sent > Jan 18 16:55:39 gaia mpd: [pptp0] LCP: SendConfigReq #2 > Jan 18 16:55:39 gaia mpd: ACFCOMP > Jan 18 16:55:39 gaia mpd: PROTOCOMP > Jan 18 16:55:39 gaia mpd: MRU 1500 > Jan 18 16:55:39 gaia mpd: MAGICNUM 87b71788 > Jan 18 16:55:39 gaia mpd: AUTHPROTO CHAP MSOFTv2 > Jan 18 16:55:39 gaia mpd: [pptp0] LCP: rec'd Configure Ack #2 link 0=20 > (Ack-Sent) > Jan 18 16:55:39 gaia mpd: ACFCOMP > Jan 18 16:55:39 gaia mpd: PROTOCOMP > Jan 18 16:55:39 gaia mpd: MRU 1500 > Jan 18 16:55:39 gaia mpd: MAGICNUM 87b71788 > Jan 18 16:55:39 gaia mpd: AUTHPROTO CHAP MSOFTv2 > Jan 18 16:55:39 gaia mpd: [pptp0] LCP: state change Ack-Sent --> Opened > Jan 18 16:55:39 gaia mpd: [pptp0] LCP: phase shift ESTABLISH -->=20 > AUTHENTICATE > Jan 18 16:55:39 gaia mpd: [pptp0] LCP: auth: peer wants nothing, I want C= HAP > Jan 18 16:55:39 gaia mpd: [pptp0] CHAP: sending CHALLENGE > Jan 18 16:55:39 gaia mpd: [pptp0] LCP: LayerUp > Jan 18 16:55:39 gaia mpd: pptp0: read ctrl data: > Jan 18 16:55:39 gaia mpd: 00 18 00 01 1a 2b 3c 4d 00 0f 00=20 > 00 .....+ Jan 18 16:55:39 gaia mpd: pptp0: got hdr > Jan 18 16:55:39 gaia mpd: len=3D24 msgType=3D1 magic=3D0x1a2b3c4d type= =3D15 > Jan 18 16:55:39 gaia mpd: pptp0: read ctrl data: > Jan 18 16:55:39 gaia mpd: bb ee 00 00 ff ff ff ff ff ff ff=20 > ff ............ > Jan 18 16:55:39 gaia mpd: pptp0-0: ignoring SetLinkInfo > Jan 18 16:55:39 gaia mpd: [pptp0] LCP: rec'd Ident #2 link 0 (Opened) > Jan 18 16:55:39 gaia mpd: MESG: MSRASV5.00 > Jan 18 16:55:40 gaia mpd: [pptp0] LCP: rec'd Ident #3 link 0 (Opened) > Jan 18 16:55:40 gaia mpd: MESG: MSRAS-1-PERSEPHONE > Jan 18 16:55:40 gaia mpd: [pptp0] CHAP: rec'd RESPONSE #1 > Jan 18 16:55:40 gaia mpd: Name: "morten" > Jan 18 16:55:40 gaia mpd: Peer name: "morten" > Jan 18 16:55:40 gaia mpd: Response is valid > Jan 18 16:55:40 gaia mpd: [pptp0] CHAP: sending SUCCESS > Jan 18 16:55:40 gaia mpd: [pptp0] LCP: authorization successful > Jan 18 16:55:40 gaia mpd: [pptp0] LCP: phase shift AUTHENTICATE --> NETWO= RK > Jan 18 16:55:40 gaia mpd: [pptp0] setting interface ng0 MTU to 1500 bytes > Jan 18 16:55:40 gaia mpd: [pptp0] up: 1 link, total bandwidth 64000 bps > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: Up event > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: state change Starting --> Req-Sent > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: SendConfigReq #1 > Jan 18 16:55:40 gaia mpd: IPADDR 217.116.240.252 > Jan 18 16:55:40 gaia mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-c= id > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Open event > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: state change Initial --> Starting > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: LayerStart > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Up event > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: state change Starting --> Req-Sent > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: SendConfigReq #1 > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Checking whether 40 bits are=20 > enabled -> no > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Checking whether 56 bits are=20 > enabled -> no > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Checking whether 128 bits are=20 > enabled -> yes > Jan 18 16:55:40 gaia mpd: MPPC > Jan 18 16:55:40 gaia mpd: 0x01000040: MPPE, 128 bit, stateless > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: rec'd Configure Request #4 link 0= =20 > (Req-Sent) > Jan 18 16:55:40 gaia mpd: MPPC > Jan 18 16:55:40 gaia mpd: 0x010000e1: MPPC MPPE, 40 bit, 56 bit, 128= =20 > bit, stateless > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Checking whether 40 bits are=20 > acceptable -> no > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Checking whether 56 bits are=20 > acceptable -> no > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Checking whether 128 bits are=20 > acceptable -> yes > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: SendConfigNak #4 > Jan 18 16:55:40 gaia mpd: MPPC > Jan 18 16:55:40 gaia mpd: 0x01000040: MPPE, 128 bit, stateless > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: rec'd Configure Request #5 link= =20 > 0 (Req-Sent) > Jan 18 16:55:40 gaia mpd: IPADDR 0.0.0.0 > Jan 18 16:55:40 gaia mpd: NAKing with 217.157.161.246 > Jan 18 16:55:40 gaia mpd: PRIDNS 0.0.0.0 > Jan 18 16:55:40 gaia mpd: NAKing with 212.242.40.3 > Jan 18 16:55:40 gaia mpd: PRINBNS 0.0.0.0 > Jan 18 16:55:40 gaia mpd: SECDNS 0.0.0.0 > Jan 18 16:55:40 gaia mpd: SECNBNS 0.0.0.0 > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: SendConfigRej #5 > Jan 18 16:55:40 gaia mpd: PRINBNS 0.0.0.0 > Jan 18 16:55:40 gaia mpd: SECDNS 0.0.0.0 > Jan 18 16:55:40 gaia mpd: SECNBNS 0.0.0.0 > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: rec'd Configure Reject #1 link 0= =20 > (Req-Sent) > Jan 18 16:55:40 gaia mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-c= id > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: SendConfigReq #2 > Jan 18 16:55:40 gaia mpd: IPADDR 217.116.240.252 > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: rec'd Configure Ack #1 link 0=20 > (Req-Sent) > Jan 18 16:55:40 gaia mpd: MPPC > Jan 18 16:55:40 gaia mpd: 0x01000040: MPPE, 128 bit, stateless > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: state change Req-Sent --> Ack-Rcvd > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: rec'd Configure Request #6 link 0= =20 > (Ack-Rcvd) > Jan 18 16:55:40 gaia mpd: MPPC > Jan 18 16:55:40 gaia mpd: 0x01000040: MPPE, 128 bit, stateless > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: Checking whether 128 bits are=20 > acceptable -> yes > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: SendConfigAck #6 > Jan 18 16:55:40 gaia mpd: MPPC > Jan 18 16:55:40 gaia mpd: 0x01000040: MPPE, 128 bit, stateless > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: state change Ack-Rcvd --> Opened > Jan 18 16:55:40 gaia mpd: [pptp0] CCP: LayerUp > Jan 18 16:55:40 gaia mpd: Compress using: MPPE, 128 bit, stateless > Jan 18 16:55:40 gaia mpd: Decompress using: MPPE, 128 bit, stateless > Jan 18 16:55:40 gaia mpd: [pptp0] setting interface ng0 MTU to 1496 bytes > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: rec'd Configure Request #7 link= =20 > 0 (Req-Sent) > Jan 18 16:55:40 gaia mpd: IPADDR 0.0.0.0 > Jan 18 16:55:40 gaia mpd: NAKing with 217.157.161.246 > Jan 18 16:55:40 gaia mpd: PRIDNS 0.0.0.0 > Jan 18 16:55:40 gaia mpd: NAKing with 212.242.40.3 > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: SendConfigNak #7 > Jan 18 16:55:40 gaia mpd: IPADDR 217.157.161.246 > Jan 18 16:55:40 gaia mpd: PRIDNS 212.242.40.3 > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: rec'd Configure Ack #2 link 0=20 > (Req-Sent) > Jan 18 16:55:40 gaia mpd: IPADDR 217.116.240.252 > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: state change Req-Sent --> Ack-Rcvd > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: rec'd Configure Request #8 link= =20 > 0 (Ack-Rcvd) > Jan 18 16:55:40 gaia mpd: IPADDR 217.157.161.246 > Jan 18 16:55:40 gaia mpd: 217.157.161.246 is OK > Jan 18 16:55:40 gaia mpd: PRIDNS 212.242.40.3 > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: SendConfigAck #8 > Jan 18 16:55:40 gaia mpd: IPADDR 217.157.161.246 > Jan 18 16:55:40 gaia mpd: PRIDNS 212.242.40.3 > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: state change Ack-Rcvd --> Opened > Jan 18 16:55:40 gaia mpd: [pptp0] IPCP: LayerUp > Jan 18 16:55:40 gaia mpd: 217.116.240.252 -> 217.157.161.246 > Jan 18 16:55:40 gaia mpd: [pptp0] IFACE: Up event > Jan 18 16:55:40 gaia mpd: [pptp0] setting interface ng0 MTU to 1496 bytes > Jan 18 16:55:40 gaia mpd: [pptp0] exec: /sbin/ifconfig ng0=20 > 217.116.240.252 217.157.161.246 netmask 0xffffffff -link0 > Jan 18 16:55:40 gaia mpd: [pptp0] no interface to proxy arp on for=20 > 217.157.161.246 > Jan 18 16:55:40 gaia mpd: [pptp0] exec: /sbin/route add 217.116.240.252= =20 > -iface lo0 > Jan 18 16:55:40 gaia mpd: [pptp0] IFACE: Up event > Jan 18 16:56:40 gaia mpd: pptp0: wrote ctrl data: > Jan 18 16:56:40 gaia mpd: 00 10 00 01 1a 2b 3c 4d 00 05 00 00 00 00 00= =20 > 01 .....+ Jan 18 16:57:40 gaia mpd: pptp0: no reply to EchoRequest after 60 sec > Jan 18 16:57:40 gaia mpd: pptp0: killing connection with=20 > 217.157.161.246:17023 > Jan 18 16:57:40 gaia mpd: pptp0-0: killing channel > Jan 18 16:57:40 gaia mpd: [pptp0] PPTP call terminated > Jan 18 16:57:40 gaia mpd: [pptp0] IFACE: Close event > Jan 18 16:57:40 gaia mpd: [pptp0] exec: /sbin/route delete=20 > 217.116.240.252 -iface lo0 > Jan 18 16:57:40 gaia mpd: [pptp0] exec: /sbin/ifconfig ng0 down delete=20 > -link0 > Jan 18 16:57:40 gaia mpd: [pptp0] IPCP: Close event > Jan 18 16:57:40 gaia mpd: [pptp0] IPCP: state change Opened --> Closing > Jan 18 16:57:40 gaia mpd: [pptp0] IPCP: SendTerminateReq #3 > Jan 18 16:57:40 gaia mpd: [pptp0] error writing len 8 frame to bypass:=20 > Network is down > Jan 18 16:57:40 gaia mpd: [pptp0] IPCP: LayerDown > Jan 18 16:57:40 gaia mpd: [pptp0] IFACE: Down event > Jan 18 16:57:40 gaia mpd: [pptp0] IFACE: Close event > Jan 18 16:57:40 gaia mpd: [pptp0] device: DOWN event in state UP > Jan 18 16:57:40 gaia mpd: [pptp0] device is now in state DOWN > Jan 18 16:57:40 gaia mpd: [pptp0] link: DOWN event > Jan 18 16:57:40 gaia mpd: [pptp0] LCP: Down event > Jan 18 16:57:40 gaia mpd: [pptp0] LCP: state change Opened --> Starting > Jan 18 16:57:40 gaia mpd: [pptp0] LCP: phase shift NETWORK --> DEAD > Jan 18 16:57:40 gaia mpd: [pptp0] setting interface ng0 MTU to 1500 bytes > Jan 18 16:57:40 gaia mpd: [pptp0] up: 0 links, total bandwidth 9600 bps > Jan 18 16:57:40 gaia mpd: [pptp0] IPCP: Down event > Jan 18 16:57:40 gaia mpd: [pptp0] IPCP: LayerFinish > Jan 18 16:57:40 gaia mpd: [pptp0] IPCP: state change Closing --> Initial > Jan 18 16:57:40 gaia mpd: [pptp0] CCP: Down event > Jan 18 16:57:40 gaia mpd: [pptp0] CCP: state change Opened --> Starting > Jan 18 16:57:40 gaia mpd: [pptp0] CCP: LayerDown > Jan 18 16:57:40 gaia mpd: [pptp0] CCP: Close event > Jan 18 16:57:40 gaia mpd: [pptp0] CCP: state change Starting --> Initial > Jan 18 16:57:40 gaia mpd: [pptp0] CCP: LayerFinish > Jan 18 16:57:40 gaia mpd: [pptp0] LCP: LayerDown > Jan 18 16:57:40 gaia mpd: [pptp0] bundle: CLOSE event in state OPENED > Jan 18 16:57:40 gaia mpd: [pptp0] closing link "pptp0"... > Jan 18 16:57:40 gaia mpd: [pptp0] device: OPEN event in state DOWN > Jan 18 16:57:40 gaia mpd: [pptp0] pausing 9 seconds before open > Jan 18 16:57:40 gaia mpd: [pptp0] device is now in state DOWN > Jan 18 16:57:40 gaia mpd: [pptp0] link: CLOSE event > Jan 18 16:57:40 gaia mpd: [pptp0] LCP: Close event > Jan 18 16:57:40 gaia mpd: [pptp0] LCP: state change Starting --> Initial > Jan 18 16:57:40 gaia mpd: [pptp0] LCP: LayerFinish > Jan 18 16:57:40 gaia mpd: [pptp0] device: CLOSE event in state DOWN > Jan 18 16:57:40 gaia mpd: [pptp0] device is now in state DOWN >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Regards Gruss Mit freundlichen Gr=FCssen Martin Schweizer PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc;=20 fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; --82evfD9Ogz2JrdWZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQFACrlMwa4WkdMP0jkRAuRPAKC/BHOjEMjMlzpDHPYLLjhqrIJPRwCeIgpq YMdnmhYvsfYrVBpnz7mLlW4= =8Zzc -----END PGP SIGNATURE----- --82evfD9Ogz2JrdWZ-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 09:12:28 2004 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 1BAAA16A4CE for ; Sun, 18 Jan 2004 09:12:28 -0800 (PST) Received: from mail.prosoft.com.pl (ns.prosoft.com.pl [213.25.91.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7914743D3F for ; Sun, 18 Jan 2004 09:12:26 -0800 (PST) (envelope-from jarek@eko.net.pl) Received: from wa35m26.eko.net.pl ([192.168.78.26] helo=skorpion) by mail.prosoft.com.pl with asmtp (Exim 4.30) id 1AiGTH-0005yC-VU; Sun, 18 Jan 2004 18:12:24 +0100 From: Jaroslaw Nozderko To: freebsd-questions@freebsd.org Date: Sun, 18 Jan 2004 18:09:56 +0100 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200401181808.49114.jarek@eko.net.pl> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Problems with startx on 5.2-RELEASE 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, 18 Jan 2004 17:12:28 -0000 > > Have you tried removing > > options SMP # Symmetric MultiProcessor Kernel > device apic # I/O APIC > > from your kernel config and recompiled? > The same problems with X on 5.2-RELEASE as in RC2 (X freezes on startup or shutdown). hint.acpi.0.disabled="1" helps, but causes strange warnings in dmesg (and shutdown doesn't switch power off...). Then I've commented out SMP and apic from kernel, as Martin suggested above and problem disappeared, acpi works correctly. Regards, Jarek From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 09:13:07 2004 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 D144B16A4CE for ; Sun, 18 Jan 2004 09:13:07 -0800 (PST) Received: from lakemtao05.cox.net (lakemtao05.cox.net [68.1.17.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9109843D48 for ; Sun, 18 Jan 2004 09:13:04 -0800 (PST) (envelope-from micheal@tsgincorporated.com) Received: from dredster ([68.12.79.37]) by lakemtao05.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040118171304.LJDV29834.lakemtao05.cox.net@dredster>; Sun, 18 Jan 2004 12:13:04 -0500 Message-ID: <017901c3dde6$598ec050$0201a8c0@dredster> From: "Micheal Patterson" To: "Bob Perry" , "FreeBSD-Questions" References: <400A3A0A.5040708@earthlink.net> Date: Sun, 18 Jan 2004 11:13:07 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: Configuring E-mail Services on a Standalone Wkst 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, 18 Jan 2004 17:13:08 -0000 ----- Original Message ----- From: "Bob Perry" To: "FreeBSD-Questions" Sent: Sunday, January 18, 2004 1:47 AM Subject: Configuring E-mail Services on a Standalone Wkst > Hello, > > I have two PCs, an NT 4.0 box and a FreeBSD 4.8 system. I'm connected > to the internet via dial-up (56k modem) and using the mail system found > in Mozilla. I understood that mail services was a natural with FreeBSD > so I thought I would take the opportunity to learn what I could about > setting up a mail server. I've become familiar with SMTP, MUAs, MTAs, > qpopper, and fetchmail but it seems like some of the more necessary > components are a static IP address, 24/7 connection, and accurate DNS > information set up on my system. If this an accurate assessment, I may > have to be satisfied setting up my e-mail services for a standalone > workstation because I can't afford a static IP address or 24/7 connection. > > If a full-fledged e-mail server isn't feasible, can I still use software > like sendmail, mutt, qpopper, and fetchmail for a standalone > workstation? Do they offer any real advantages over the mail systems > that come with Mozilla, Netscape, etc.? Any, and all comments are welcome. > > Thank you. > Bob Perry > > -- > FreeBSD 4.8-RELEASE-p13 0# What I've done in the past with dialup is this: Configure sendmail to use a smart host. This would point to your ISP's mail server. Configure fetchmail to run every 10 minutes to check for incoming mail. Configure qpopper, imapd services so you can recieve your mail from the bsd box. On your client computer (Windows), configure it to send and recieve mail from your unix box. In this config, fetchmail will retrieve mail from your isp, pipe it through your local sendmail. This allows you to place your own filters on incoming mail and scan it for viri using the software of your choice. Then when you send mail out, it hits the sendmail server and is forwarded on to your ISP. -- Micheal Patterson Network Administration TSG Incorporated 405-917-0600 From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 09:24:27 2004 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 4058D16A4CE for ; Sun, 18 Jan 2004 09:24:27 -0800 (PST) Received: from jorn.servebeer.com (node-c-0ab6.a2000.nl [62.194.10.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1008743D4C for ; Sun, 18 Jan 2004 09:24:24 -0800 (PST) (envelope-from jorn@jorn.servebeer.com) Received: from jorn.servebeer.com (localhost [127.0.0.1]) by jorn.servebeer.com (Postfix) with SMTP id 2E6DD17064; Sun, 18 Jan 2004 18:22:41 +0100 (CET) Received: from 172.16.1.2 (SquirrelMail authenticated user jorn) by jorn.servebeer.com with HTTP; Sun, 18 Jan 2004 18:22:41 +0100 (CET) Message-ID: <50074.172.16.1.2.1074446561.squirrel@jorn.servebeer.com> In-Reply-To: <200401181444.i0IEiGpU024042@webmailer.hosteurope.de> References: <200401181444.i0IEiGpU024042@webmailer.hosteurope.de> Date: Sun, 18 Jan 2004 18:22:41 +0100 (CET) From: "Jorn Argelo" To: freebsd@sp1r1t.de User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal cc: questions@freebsd.org Subject: Re: gnome startup : \"can\'t find /dev/sound/mixer\" 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, 18 Jan 2004 17:24:27 -0000 > Hello everybody, > > > I have FreeBSD 4.8 installed on an AMD thunderbird 800 and i am using > gnome. > everytime i start gnome, i get the error message \"cant open > /dev/sound/mixer\". > There is a Sound Blaster 128 Pro PCI installed in the box, but neither > does /dev/sound > exist, nor can i spot anything that looks as if it could be a sound card > in the output of dmesg. > > a threat at linuxquestions.org [1] exists that seems to describe the same > problem and someone claims the solution was to rebuild the kernel with > soundcart support, but noone did further comment on that proposal. > is there no sound card support in freebsd 4.8 by default? do i have to > rebuild the kernel? > or is there another solution to my problem? Yes, you have to recompile the kernel in order to get sound support. If you don't know how to do it, consult the handbook. You do this by adding the following parameters in the following in your kernel configuration: device pcm device sbc From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 09:26:11 2004 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 E104616A4CE for ; Sun, 18 Jan 2004 09:26:11 -0800 (PST) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C30143D31 for ; Sun, 18 Jan 2004 09:26:10 -0800 (PST) (envelope-from Jacques.Beigbeder@ens.fr) Received: from trefle.ens.fr (trefle.ens.fr [129.199.96.17]) i0IHQ8aW074330 for ; Sun, 18 Jan 2004 18:26:08 +0100 (CET) Received: from (beig@localhost) by trefle.ens.fr (8.12.3/jb-1.1) X-Authentication-Warning: trefle.ens.fr: beig set sender to Jacques.Beigbeder@ens.fr using -f Date: Sun, 18 Jan 2004 18:26:08 +0100 From: Jacques Beigbeder To: freebsd-questions@freebsd.org Message-ID: <20040118172608.GA1690@trefle.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.5.1i Subject: [5.2] /usr/ports/java/jdk13 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, 18 Jan 2004 17:26:12 -0000 Hello, I understood that mozilla only runs with JDK 1.3. On a 5.2 box, I tried: cd /usr/ports/java/jdk13 make It fails because: host # /usr/local/diablo-jdk1.3.1/bin/java -version Bus error (core dumped) so /usr/ports/java/jdk13/work/j2sdk1.3.1/make/tools/sanityck fails. Is there a fix for diablo-jdk1.3.1? Is there any valid Java 2 SDK to bootstrap JDK 1.3.1 build? My ports are the last one: -rw-rw-r-- 1 110 root 23423998 Jan 17 09:12 ports.tar.gz -- Jacques Beigbeder | Jacques.Beigbeder@ens.fr Service de Prestations Informatiques | http://www.spi.ens.fr Ecole normale supérieure | 45 rue d'Ulm |Tel : (+33 1)1 44 32 37 96 F75230 Paris cedex 05 |Fax : (+33 1)1 44 32 20 75 From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 09:31:31 2004 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 BA4D716A4CE for ; Sun, 18 Jan 2004 09:31:31 -0800 (PST) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2939243D46 for ; Sun, 18 Jan 2004 09:31:30 -0800 (PST) (envelope-from stanb@panix.com) Received: from panix.com (brillig.panix.com [166.84.1.76]) by mail3.panix.com (Postfix) with ESMTP id 58CF498922 for ; Sun, 18 Jan 2004 12:31:09 -0500 (EST) Received: from teddy.fas.com (pcp01010374pcs.mplsnt01.sc.comcast.net [68.58.176.69]) by panix.com (Postfix) with ESMTP id 2B9EA2AA10 for ; Sun, 18 Jan 2004 12:31:09 -0500 (EST) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1AiGlQ-0006V3-00 for ; Sun, 18 Jan 2004 12:31:08 -0500 Date: Sun, 18 Jan 2004 12:31:08 -0500 From: stan To: Free BSD Questions list Message-ID: <20040118173108.GB24876@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 12:27:36 up 13 days, 23:30, 1 user, load average: 0.00, 0.01, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: Getting snmp running on a STABLE machine? 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, 18 Jan 2004 17:31:31 -0000 I'm trying to get snmp running on a STABLE machine. I've built and installed teh net-snmpd port, but I can't seem to find where teh example config file was put. Any sugestions? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 09:37:28 2004 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 8910716A4CE for ; Sun, 18 Jan 2004 09:37:28 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id D204B43D1D for ; Sun, 18 Jan 2004 09:37:25 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i0IHbJse001787 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Jan 2004 17:37:19 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i0IHbJUW001786; Sun, 18 Jan 2004 17:37:19 GMT (envelope-from matthew) Date: Sun, 18 Jan 2004 17:37:19 +0000 From: Matthew Seaman To: Jacques Beigbeder Message-ID: <20040118173719.GA1712@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Jacques Beigbeder , freebsd-questions@freebsd.org References: <20040118172608.GA1690@trefle.ens.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: <20040118172608.GA1690@trefle.ens.fr> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: [5.2] /usr/ports/java/jdk13 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, 18 Jan 2004 17:37:28 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 18, 2004 at 06:26:08PM +0100, Jacques Beigbeder wrote: > I understood that mozilla only runs with JDK 1.3. Runs fine with JDK 1.4.2 for me, anthough you do have to create the symlinks in /usr/X11R6/lib/browser_plugins yourself: % ls -la /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so =20 lrwxr-xr-x 1 root wheel 62 Jan 18 13:02 /usr/X11R6/lib/browser_plugi= ns/libjavaplugin_oji.so@ -> /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libja= vaplugin_oji.so Cheers, Matthew PS. Diablo JDK 1.3.1 needs a little persuasion (in the form of the 4.x compat libs) in order to run on 5.x: easiest thing to do is install via the java/diablo-jdk13 port. --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFACsRPdtESqEQa7a0RAt6eAJ9CMc5Tuw0D3hgSHvAJD/KazX319ACgmTxN 6AMCd00DOhZrMAWUJQMnRLM= =Zirs -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 09:42:32 2004 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 57DC416A4CF for ; Sun, 18 Jan 2004 09:42:32 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC80A43D31 for ; Sun, 18 Jan 2004 09:42:24 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i0IHgIse001860 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 18 Jan 2004 17:42:18 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i0IHgIjg001859 for freebsd-questions@freebsd.org; Sun, 18 Jan 2004 17:42:18 GMT (envelope-from matthew) Date: Sun, 18 Jan 2004 17:42:18 +0000 From: Matthew Seaman To: Free BSD Questions list Message-ID: <20040118174218.GB1712@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Free BSD Questions list References: <20040118173108.GB24876@teddy.fas.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kXdP64Ggrk/fb43R" Content-Disposition: inline In-Reply-To: <20040118173108.GB24876@teddy.fas.com> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: Getting snmp running on a STABLE machine? 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, 18 Jan 2004 17:42:32 -0000 --kXdP64Ggrk/fb43R Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 18, 2004 at 12:31:08PM -0500, stan wrote: > I'm trying to get snmp running on a STABLE machine. I've built and > installed teh net-snmpd port, but I can't seem to find where teh example > config file was put. >=20 > Any sugestions? /usr/local/share/snmp -- if you use the snmpconf(1) program with the '-i' flag it will walk you through generating the config files and then install them into the correct place for global access: # snmpconf -i -g basic_setup See also snmp.conf(5), snmpd.conf(5) Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --kXdP64Ggrk/fb43R Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFACsV6dtESqEQa7a0RApsNAJ9BTYfoVJcefPmHpPIYElDpEsYB2wCfcreZ C8OcYhkmVUAQ1DcGBGWnc1Y= =RrTA -----END PGP SIGNATURE----- --kXdP64Ggrk/fb43R-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 09:43:43 2004 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 D41F516A4CE for ; Sun, 18 Jan 2004 09:43:43 -0800 (PST) Received: from BAY0-HMR06.adinternal.hotmail.com (bay0-hmr06.bay0.hotmail.com [65.54.241.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 790CE43D1F for ; Sun, 18 Jan 2004 09:43:36 -0800 (PST) (envelope-from aranenko@hotmail.com) Received: from hotmail.com ([64.4.8.21]) by BAY0-HMR06.adinternal.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Sun, 18 Jan 2004 09:43:36 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 18 Jan 2004 09:43:36 -0800 Received: from 142.161.157.227 by law9-oe49.law9.hotmail.com with DAV; Sun, 18 Jan 2004 17:43:35 +0000 X-Originating-IP: [142.161.157.227] X-Originating-Email: [aranenko@hotmail.com] X-Sender: aranenko@hotmail.com From: "ar" To: Date: Sun, 18 Jan 2004 11:44:11 -0600 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 18 Jan 2004 17:43:36.0189 (UTC) FILETIME=[99616AD0:01C3DDEA] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: /libexec/ld-elf.so.1: fsckk: Undefined symbol: "execvP" 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, 18 Jan 2004 17:43:43 -0000 Hello, After having installed 5.2 I am getting the following error message at = system boot: /libexec/ld-elf.so.1: fsck: Undefined symbol: "execvP" What this might be? Something like missing library ... ? Appreciate if = anyone may share ideas ...I sure will try to reinstall the system to see = if I have missed anything during the install and may be fix problem in a = such simple way. Thanks to all Alex. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 09:43:49 2004 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 6297016A4CE for ; Sun, 18 Jan 2004 09:43:49 -0800 (PST) Received: from priv-edtnes42.telusplanet.net (outbound05.telus.net [199.185.220.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6097143D31 for ; Sun, 18 Jan 2004 09:43:48 -0800 (PST) (envelope-from jearl@telus.net) Received: from localhost ([199.185.220.240]) by priv-edtnes42.telusplanet.net (InterMail vM.6.00.05.02 201-2115-109-103-20031105) with ESMTP id <20040118174348.FIN18526.priv-edtnes42.telusplanet.net@localhost> for ; Sun, 18 Jan 2004 10:43:48 -0700 Received: from 24.64.142.120 ( [24.64.142.120]) as user urbanex2@192.168.200.1 by webmail.telus.net with HTTP; Sun, 18 Jan 2004 10:43:48 -0700 Message-ID: <1074447828.400ac5d415014@webmail.telus.net> Date: Sun, 18 Jan 2004 10:43:48 -0700 From: James Earl To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1-cvs X-Originating-IP: 24.64.142.120 Subject: vmstat output 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, 18 Jan 2004 17:43:49 -0000 When the output from 'vmstat -i' has plus signs after a device, does it have the same/similar meaning as the plus signs in 'systat 1 -vmstat'? For example: irq11: cbb0 an0++++ 130561 59 James From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 09:59:30 2004 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 CB53116A4CE for ; Sun, 18 Jan 2004 09:59:30 -0800 (PST) Received: from kestrel.alerce.com (kestrel.alerce.com [209.182.219.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53EC843D66 for ; Sun, 18 Jan 2004 09:59:07 -0800 (PST) (envelope-from hartzell@kestrel.alerce.com) Received: from rosebud.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (authenticated bits=128) by kestrel.alerce.com (8.12.10/8.12.10) with ESMTP id i0IHx4LN043600 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 18 Jan 2004 09:59:06 -0800 (PST) (envelope-from hartzell@kestrel.alerce.com) Received: from rosebud.alerce.com (localhost [127.0.0.1]) by rosebud.alerce.com (8.12.9p2/8.12.9) with ESMTP id i0IHwwwL023962 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 18 Jan 2004 09:58:59 -0800 (PST) (envelope-from hartzell@rosebud.alerce.com) Received: (from hartzell@localhost) by rosebud.alerce.com (8.12.9p2/8.12.9/Submit) id i0IHwvoM023959; Sun, 18 Jan 2004 09:58:57 -0800 (PST) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16394.51553.280751.990205@rosebud.alerce.com> Date: Sun, 18 Jan 2004 09:58:57 -0800 To: freebsd-questions@freebsd.org X-Mailer: VM 7.14 under 21.4 (patch 14) "Reasonable Discussion" XEmacs Lucid X-Virus-Scanned: ClamAV version 'clamd / ClamAV version devel-20031103', clamav-milter version '0.60n' Subject: Should /nonexistent home dir actually exist? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hartzell@kestrel.alerce.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 17:59:30 -0000 I just noticed a) that several accounts (from ports stuff, it seems) on a -stable system use /nonexistent as their home directory (ghost)[9:50am]log>>grep nonexist /etc/passwd pop:*:68:6:Post Office Owner:/nonexistent:/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/sbin/nologin nobody:*:65534:65534:Unprivileged user:/nonexistent:/sbin/nologin gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin dnslog:*:1002:1002:DJBdns Logger:/nonexistent:/sbin/nologin dnscache:*:1003:1003:DJBdns Cache owner:/nonexistent:/sbin/nlogin stunnel:*:1004:1004:stunnel Daemon:/nonexistent:/sbin/nologin cyrus:*:60:60:the cyrus mail server:/nonexistent:/sbin/nologin ldap:*:389:389:OpenLDAP Server:/nonexistent:/sbin/nologin and b) that it seems to exist.... (ghost)[9:50am]log>>ls -la /nonexistent/ total 20 drwxr-xr-x 2 ftp ftp 512 Jun 1 2003 . drwxr-xr-x 20 root wheel 512 Jan 15 12:07 .. -rw-r--r-- 1 dnslog dnslog 771 Jun 1 2003 .cshrc -rw-r--r-- 1 dnslog dnslog 255 Jun 1 2003 .login -rw-r--r-- 1 dnslog dnslog 165 Jun 1 2003 .login_conf -rw------- 1 dnslog dnslog 371 Jun 1 2003 .mail_aliases -rw-r--r-- 1 dnslog dnslog 331 Jun 1 2003 .mailrc -rw-r--r-- 1 dnslog dnslog 801 Jun 1 2003 .profile -rw------- 1 dnslog dnslog 276 Jun 1 2003 .rhosts -rw-r--r-- 1 dnslog dnslog 852 Jun 1 2003 .shrc The name suggests that it shouldn't actually exist, presumably as a security measure. Should I leave it as is, blow away the /nonexistent homedir, is it a ports problem, or ??? g. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 10:05:05 2004 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 40D9F16A4CE for ; Sun, 18 Jan 2004 10:05:05 -0800 (PST) Received: from dsl-mail.kamp.net (mail.kamp-dsl.de [195.62.99.42]) by mx1.FreeBSD.org (Postfix) with SMTP id 2E71843D1F for ; Sun, 18 Jan 2004 10:05:02 -0800 (PST) (envelope-from root@pukruppa.de) Received: (qmail 1974 invoked by uid 505); 18 Jan 2004 18:10:18 -0000 Received: from root@pukruppa.de by dsl-mail by uid 89 with qmail-scanner-1.14 (spamassassin: 2.43. Clear:SA:0(0.0/5.0):. Processed in 0.360469 secs); 18 Jan 2004 18:10:18 -0000 X-Spam-Status: No, hits=0.0 required=5.0 Received: from unknown (HELO reverse-213-146-114-24.dialin.kamp-dsl.de) (213.146.114.24) by dsl-mail.kamp.net with SMTP; 18 Jan 2004 18:10:18 -0000 Date: Sun, 18 Jan 2004 19:08:34 +0100 (CET) From: Peter Ulrich Kruppa X-X-Sender: root@pukruppa.net To: George Hartzell In-Reply-To: <16394.51553.280751.990205@rosebud.alerce.com> Message-ID: <20040118190630.Y748@pukruppa.net> References: <16394.51553.280751.990205@rosebud.alerce.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Should /nonexistent home dir actually exist? 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, 18 Jan 2004 18:05:05 -0000 On Sun, 18 Jan 2004, George Hartzell wrote: > > I just noticed > > a) that several accounts (from ports stuff, it seems) on a -stable > system use /nonexistent as their home directory > > (ghost)[9:50am]log>>grep nonexist /etc/passwd > pop:*:68:6:Post Office Owner:/nonexistent:/sbin/nologin > www:*:80:80:World Wide Web Owner:/nonexistent:/sbin/nologin > nobody:*:65534:65534:Unprivileged user:/nonexistent:/sbin/nologin > gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin > dnslog:*:1002:1002:DJBdns Logger:/nonexistent:/sbin/nologin > dnscache:*:1003:1003:DJBdns Cache owner:/nonexistent:/sbin/nlogin > stunnel:*:1004:1004:stunnel Daemon:/nonexistent:/sbin/nologin > cyrus:*:60:60:the cyrus mail server:/nonexistent:/sbin/nologin > ldap:*:389:389:OpenLDAP Server:/nonexistent:/sbin/nologin > > and > > b) that it seems to exist.... > > (ghost)[9:50am]log>>ls -la /nonexistent/ > total 20 > drwxr-xr-x 2 ftp ftp 512 Jun 1 2003 . > drwxr-xr-x 20 root wheel 512 Jan 15 12:07 .. > -rw-r--r-- 1 dnslog dnslog 771 Jun 1 2003 .cshrc > -rw-r--r-- 1 dnslog dnslog 255 Jun 1 2003 .login > -rw-r--r-- 1 dnslog dnslog 165 Jun 1 2003 .login_conf > -rw------- 1 dnslog dnslog 371 Jun 1 2003 .mail_aliases > -rw-r--r-- 1 dnslog dnslog 331 Jun 1 2003 .mailrc > -rw-r--r-- 1 dnslog dnslog 801 Jun 1 2003 .profile > -rw------- 1 dnslog dnslog 276 Jun 1 2003 .rhosts > -rw-r--r-- 1 dnslog dnslog 852 Jun 1 2003 .shrc > > The name suggests that it shouldn't actually exist, presumably as a > security measure. > > Should I leave it as is, blow away the /nonexistent homedir, is it a > ports problem, or ??? Yes, it shouldn't really exist. It is only a dummy for security reasons. Regards, Uli. > > g. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > +---------------------------+ | Peter Ulrich Kruppa | | Wuppertal | | Germany | +---------------------------+ From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 10:14:49 2004 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 9C8E716A4CE for ; Sun, 18 Jan 2004 10:14:49 -0800 (PST) Received: from ybbsmtp04.mail.yahoo.co.jp (ybbsmtp04.mail.yahoo.co.jp [210.81.151.172]) by mx1.FreeBSD.org (Postfix) with SMTP id 6935D43D48 for ; Sun, 18 Jan 2004 10:14:47 -0800 (PST) (envelope-from ayakokiko@ybb.ne.jp) Received: from unknown (HELO gorgon.near.this) (219.11.234.11 with poptime) by ybbsmtp04.mail.yahoo.co.jp with SMTP; 18 Jan 2004 18:14:46 -0000 X-Apparently-From: Received: from ghost.near.this (ghost.near.this [10.0.3.9]) by gorgon.near.this (Postfix) with ESMTP id A5E977F81; Mon, 19 Jan 2004 03:14:42 +0900 (JST) Received: by ghost.near.this (Postfix, from userid 100) id EA4EC1932C; Mon, 19 Jan 2004 03:14:39 +0900 (JST) Date: Mon, 19 Jan 2004 03:14:13 +0900 From: horio shoichi To: "Rickard Dahlstrand" In-Reply-To: <007701c3ddaf$8c58f000$8b01010a@nyalaptopen> References: <007701c3ddaf$8c58f000$8b01010a@nyalaptopen> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20040118.181439.044a08dcd0c585e4.10.0.3.9@bugsgrief.net> cc: freebsd-questions@freebsd.org Subject: Re: Cutting the power without unmounting the filesystem 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, 18 Jan 2004 18:14:49 -0000 On Sun, 18 Jan 2004 11:40:53 +0100 "Rickard Dahlstrand" wrote: > Hi, > > I have a computer that will have it's power removed quite often. In other word It will not unmount the file system. What kind of implications does this have in the long term? > > I have discovered that the start-up takes much longer because of having to clean the file system. Is there a way to prevent this and what harm can cutting the power have on the system? > > I know of some installations that use read-only mounting. Is it possible to mount / RO and /etc and /var RW? Will that speed up the boot process? > > Best Regards, Rickard. > _______________________________________________ > 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" > If you have / readonly, you cannot make /etc RW since they cannot be separate partitions. (As an exercise, consider a problem how to mount /etc when /etc/fstab isn't mounted.) However, having /var partition separate is quite common and I think is a recommended practice. And, of course, it must be a read/write partition. Now, a dumb question... Are you terminating your machine with halt or shutdown command ? Does your machine cleanly stop ? horio shoichi From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 10:19:00 2004 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 8615716A4CE for ; Sun, 18 Jan 2004 10:19:00 -0800 (PST) Received: from web40309.mail.yahoo.com (web40309.mail.yahoo.com [66.218.78.88]) by mx1.FreeBSD.org (Postfix) with SMTP id C645843D48 for ; Sun, 18 Jan 2004 10:18:59 -0800 (PST) (envelope-from asker_student@yahoo.com) Message-ID: <20040118181859.98530.qmail@web40309.mail.yahoo.com> Received: from [81.31.160.4] by web40309.mail.yahoo.com via HTTP; Sun, 18 Jan 2004 10:18:59 PST Date: Sun, 18 Jan 2004 10:18:59 -0800 (PST) From: asker survey To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: ftp authentication problem 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, 18 Jan 2004 18:19:00 -0000 Hello everybody; I upgraded my 4.4 FreeBSD to 4.9. I backed up the /usr/home directory and /etc/*. After installing FreeBSD 4.9 I copied passwd , master.passwd and the home directories. Now the users can log in through telnet or ssh. But when trying to access ftp this message is displayed after typing the username: 530 User testuser access denied. Login failed. Thank you for you patience and attention. Since I am not in the list please send the reply to me directly. __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 10:22:47 2004 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 D39BE16A4CE for ; Sun, 18 Jan 2004 10:22:47 -0800 (PST) Received: from hotmail.com (bay8-f43.bay8.hotmail.com [64.4.27.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id E905943D1F for ; Sun, 18 Jan 2004 10:22:46 -0800 (PST) (envelope-from lee_ver_mx@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 18 Jan 2004 10:22:46 -0800 Received: from 200.78.18.69 by by8fd.bay8.hotmail.msn.com with HTTP; Sun, 18 Jan 2004 18:22:46 GMT X-Originating-IP: [200.78.18.69] X-Originating-Email: [lee_ver_mx@hotmail.com] X-Sender: lee_ver_mx@hotmail.com From: "Lee Mx" To: nkinkade@ub.edu.bz, kline@thought.org Date: Sun, 18 Jan 2004 10:22:46 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 18 Jan 2004 18:22:46.0773 (UTC) FILETIME=[12701250:01C3DDF0] cc: freebsd-questions@freebsd.org Subject: Re: stumped... . 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, 18 Jan 2004 18:22:48 -0000 >From: Nathan Kinkade >Reply-To: Nathan Kinkade >To: Gary Kline >CC: FreeBSD Mailing List >Subject: Re: stumped... . >Date: Sun, 18 Jan 2004 09:54:23 -0600 > >On Sat, Jan 17, 2004 at 09:06:45PM -0800, Gary Kline wrote: > > On Sun, Jan 18, 2004 at 02:48:42PM +1100, Gautam Gopalakrishnan wrote: > > > On Sat, Jan 17, 2004 at 07:09:12PM -0800, Gary Kline wrote: > > > > > > > > I've written scores of scripts to hack text files, but this > > > > one has me dead in the water. > > > > > > > > How can I delete all lines from /^PATTERN to EOF?? > > > > > > > > > > sed -e '/pattern/,$d' > > > > > > > Yep. Thisis what i used, in fact. thanks. > > > > gary > >Here is another option using sed that takes 2 less keystrokes :) > >$ sed -e '/pattern/q' This would give line 1 to the pattern, wouldn't it, Rather than pattern to EOF. > >Nathan >-- >gpg --keyserver pgp.mit.edu --recv-keys D8527E49 ><< attach3 >> _________________________________________________________________ There are now three new levels of MSN Hotmail Extra Storage! Learn more. http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1 From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 10:23:59 2004 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 7144316A4CE; Sun, 18 Jan 2004 10:23:59 -0800 (PST) Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA6EB43D45; Sun, 18 Jan 2004 10:23:57 -0800 (PST) (envelope-from cswiger@mac.com) Received: from mac.com ([68.161.129.47]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040118182357.PWDL26012.out010.verizon.net@mac.com>; Sun, 18 Jan 2004 12:23:57 -0600 Message-ID: <400ACF39.4000609@mac.com> Date: Sun, 18 Jan 2004 13:23:53 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: fbsd_user@a1poweruser.com References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [68.161.129.47] at Sun, 18 Jan 2004 12:23:56 -0600 cc: freebsd-ipfw@freebsd.org cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: 5.2 + ipfw2 + keep-state rules Bug 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, 18 Jan 2004 18:23:59 -0000 fbsd_user wrote: > Using an fresh install of FBSD 5.2 RC2 I am trying to > get stateful rules to function. > For some reason ipfw2 seems to be issuing an ICMP:3.3 > packet to my ISP's dns. [ ... ] > # Internal gateway housekeeping > $cmd 00100 allow all from any to any via lo0 # allow all localhost > $cmd 00105 allow all from any to any via xl0 # allow all local Lan > $cmd 00110 check-state log logamount 500 > $cmd 00150 divert natd all from any to any > $cmd 00170 count log logamount 500 all from any to any > $cmd 00310 allow log logamount 500 tcp from any to any 53 out via > rl0 setup keep-state > $cmd 00311 allow log logamount 500 udp from any to any 53 out via > rl0 keep-state > $cmd 00315 allow log logamount 500 tcp from any to any 80 out via > rl0 setup keep-state > $cmd 00350 allow log logamount 500 icmp from any to any out via rl0 > keep-state > $cmd 00500 deny log logamount 500 all from any to any Something like the following would be better in terms of DNS and not blocking essential types of ICMP traffic: allow tcp from any to any 53 out via rl0 setup keep-state allow udp from any to any 53 allow icmp from any to any icmptypes 0,3,4,8,11,12 This allows bidirectional UDP-based DNS queries, but only outbound long (TCP-based) DNS queries like zone-transfers. YMMV, and it may not solve your problem-- it looked like your queries were coming from an internal host (10.0.10.5) using NAT? Are you sure that natd is okay? Maybe put the divert statement before the "check-state" rule? -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 10:26:10 2004 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 54A0716A4CE for ; Sun, 18 Jan 2004 10:26:10 -0800 (PST) Received: from munk.nu (mail.munk.nu [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0594E43D4C for ; Sun, 18 Jan 2004 10:26:08 -0800 (PST) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.30; FreeBSD) id 1AiHcc-000NiB-OK; Sun, 18 Jan 2004 18:26:06 +0000 Date: Sun, 18 Jan 2004 18:26:06 +0000 From: Jez Hancock To: Grant Peel Message-ID: <20040118182606.GB85726@users.munk.nu> Mail-Followup-To: Grant Peel , freebsd-questions@freebsd.org References: <002401c3dd21$cdbe83e0$6501a8c0@grant> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002401c3dd21$cdbe83e0$6501a8c0@grant> User-Agent: Mutt/1.4.1i Sender: Jez Hancock cc: freebsd-questions@freebsd.org Subject: Re: IPFW and IP Statistics. 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, 18 Jan 2004 18:26:10 -0000 On Sat, Jan 17, 2004 at 12:46:12PM -0500, Grant Peel wrote: > Hello, > > I am currently using ipfm (IP FLow Meter) as a way of measuring bandwidth > per IP. I am not too happy with it as it has some major limitations. > > Is there a way to configure IPFW in FreeBSD so that all it does is monitor > bandwidth per IP and writes simple stats to seperate files? > > I am interested to hear other solutions (short of buying a router!). This is 'another' solution which logs and displays bandwidth consuption on a per-user basis using ipfw: http://ipfwstats.sf.net/ You should however be able to make ipfw log traffic on a per-ip basis using rules such as: add 100 count ip from any to 1.2.3.4 add 101 count ip from 1.2.3.4 to any ... etc and then at the end of each day run a script via cron to pipe the traffic usage for each ip to a file or database. I have a feeling there's also a few ports that do per-ip bandwidth logging, iplog and ipfm are two that I know of, looking in /usr/ports/net there appear to be others - ipacctd for example. It might be worth using the portsearch tool to search for more - it's in /usr/ports/Tools/scripts/portsearch - something like this: portsearch -p /usr/ports/net -i "bandwidth|traffic" or just have a look through the ports in /usr/ports/net :P -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/ - ipfw peruser traffic logging From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 10:35:25 2004 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 C840916A4CE for ; Sun, 18 Jan 2004 10:35:25 -0800 (PST) Received: from dsl-mail.kamp.net (mail.kamp-dsl.de [195.62.99.42]) by mx1.FreeBSD.org (Postfix) with SMTP id B12EF43D2F for ; Sun, 18 Jan 2004 10:35:23 -0800 (PST) (envelope-from root@pukruppa.de) Received: (qmail 16879 invoked by uid 505); 18 Jan 2004 18:40:40 -0000 Received: from root@pukruppa.de by dsl-mail by uid 89 with qmail-scanner-1.14 (spamassassin: 2.43. Clear:SA:0(0.0/5.0):. Processed in 0.338654 secs); 18 Jan 2004 18:40:40 -0000 X-Spam-Status: No, hits=0.0 required=5.0 Received: from unknown (HELO reverse-213-146-114-24.dialin.kamp-dsl.de) (213.146.114.24) by dsl-mail.kamp.net with SMTP; 18 Jan 2004 18:40:39 -0000 Date: Sun, 18 Jan 2004 19:39:00 +0100 (CET) From: Peter Ulrich Kruppa X-X-Sender: root@pukruppa.net To: asker survey In-Reply-To: <20040118181859.98530.qmail@web40309.mail.yahoo.com> Message-ID: <20040118193742.A748@pukruppa.net> References: <20040118181859.98530.qmail@web40309.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: ftp authentication problem 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, 18 Jan 2004 18:35:25 -0000 On Sun, 18 Jan 2004, asker survey wrote: > Hello everybody; > I upgraded my 4.4 FreeBSD to 4.9. I backed up the > /usr/home directory and /etc/*. After installing > FreeBSD 4.9 I copied passwd , master.passwd and the > home directories. Now the users can log in through > telnet or ssh. But when trying to access ftp this > message is displayed after typing the username: > 530 User testuser access denied. > Login failed. Please check, if the ftp line in /etc/inetd.conf is uncommented. If not, remove the # and reboot. Regards, Uli. > > Thank you for you patience and attention. > Since I am not in the list please send the reply to me > directly. > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > +---------------------------+ | Peter Ulrich Kruppa | | Wuppertal | | Germany | +---------------------------+ From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 10:44:03 2004 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 988A216A4CF for ; Sun, 18 Jan 2004 10:44:03 -0800 (PST) Received: from ybbsmtp04.mail.yahoo.co.jp (ybbsmtp04.mail.yahoo.co.jp [210.81.151.172]) by mx1.FreeBSD.org (Postfix) with SMTP id 8F4D443D1F for ; Sun, 18 Jan 2004 10:43:59 -0800 (PST) (envelope-from ayakokiko@ybb.ne.jp) Received: from unknown (HELO gorgon.near.this) (219.11.234.11 with poptime) by ybbsmtp04.mail.yahoo.co.jp with SMTP; 18 Jan 2004 18:43:58 -0000 X-Apparently-From: Received: from ghost.near.this (ghost.near.this [10.0.3.9]) by gorgon.near.this (Postfix) with ESMTP id B67077F81; Mon, 19 Jan 2004 03:43:53 +0900 (JST) Received: by ghost.near.this (Postfix, from userid 100) id 5C9F31932C; Mon, 19 Jan 2004 03:43:52 +0900 (JST) Date: Mon, 19 Jan 2004 03:43:50 +0900 From: horio shoichi To: Spades In-Reply-To: <09bd01c3ddbc$9f829070$fa10fea9@bryanuptrvb0jc> References: <09bd01c3ddbc$9f829070$fa10fea9@bryanuptrvb0jc> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20040118.184351.3b20743ee03ef7d3.10.0.3.9@bugsgrief.net> cc: freebsd-security@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: arp problem in /var/log/messages 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, 18 Jan 2004 18:44:03 -0000 On Sun, 18 Jan 2004 20:14:29 +0800 "Spades" wrote: > hi all, i got flooded by these msgs like 1000+ lines, any idea? > my kernel is dated Nov-30 FreeBSD 4.9-stable > > # tail -f /var/log/messages > Jan 18 19:43:23 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74 > to 00:50:0f:4f:c0:00 on rl0 > Jan 18 19:45:06 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00 > to 00:04:5a:49:eb:74 on rl0 > Jan 18 19:45:18 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74 > to 00:50:0f:4f:c0:00 on rl0 > Jan 18 19:45:41 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00 > to 00:04:5a:49:eb:74 on rl0 > Jan 18 19:45:45 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74 > to 00:50:0f:4f:c0:00 on rl0 > > thanks and regards, > > John > > _______________________________________________ > 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" > # sysctl net.link.ether.inet.log_arp_wrong_iface=1 should mask the messages. horio shoichi From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 10:48:18 2004 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 0D10216A4CE for ; Sun, 18 Jan 2004 10:48:18 -0800 (PST) Received: from Vitsch.net (b74143.upc-b.chello.nl [212.83.74.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF9F843D1D for ; Sun, 18 Jan 2004 10:48:15 -0800 (PST) (envelope-from Danovitsch@Vitsch.net) Received: from FreeBSD.Danovitsch.LAN (b83007.upc-b.chello.nl [212.83.83.7]) by Vitsch.net (8.12.3p2/8.11.3) with ESMTP id i0IIlmXe070547; Sun, 18 Jan 2004 19:47:48 +0100 (CET) (envelope-from Danovitsch@Vitsch.net) Content-Type: text/plain; charset="iso-8859-1" From: "Daan Vreeken [PA4DAN]" To: George Hartzell Date: Sun, 18 Jan 2004 19:48:39 +0100 User-Agent: KMail/1.4.3 References: <20040118181859.98530.qmail@web40309.mail.yahoo.com> <20040118193742.A748@pukruppa.net> In-Reply-To: <20040118193742.A748@pukruppa.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200401181948.39119.Danovitsch@Vitsch.net> cc: Peter Ulrich Kruppa cc: FreeBSD-questions@FreeBSD.org Subject: Re: ftp authentication problem 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, 18 Jan 2004 18:48:18 -0000 On Sunday 18 January 2004 19:39, Peter Ulrich Kruppa wrote: > On Sun, 18 Jan 2004, asker survey wrote: > > Hello everybody; > > =09I upgraded my 4.4 FreeBSD to 4.9. I backed up the > > /usr/home directory and /etc/*. After installing > > FreeBSD 4.9 I copied passwd , master.passwd and the > > home directories. Now the users can log in through > > telnet or ssh. But when trying to access ftp this > > message is displayed after typing the username: > > =09530 User testuser access denied. > > =09Login failed. > Please check, if the ftp line in /etc/inetd.conf is uncommented. > If not, remove the # and reboot. You wouldn't get "530 access denied" if ftp is disabled in inetd.conf . I= f it=20 was you would have gotten "connection refused". Check if the user "testuser" has a valid shell that is listed in /etc/she= lls . There are some more criteria a user has to comply to before it is allowed= to=20 use ftp, for more details see "man ftpd". grtz, Daan From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 10:51:16 2004 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 A86DB16A4CE for ; Sun, 18 Jan 2004 10:51:16 -0800 (PST) Received: from out009.verizon.net (out009pub.verizon.net [206.46.170.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id C26FB43D46 for ; Sun, 18 Jan 2004 10:51:13 -0800 (PST) (envelope-from cswiger@mac.com) Received: from mac.com ([68.161.129.47]) by out009.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040118185113.PZWQ11926.out009.verizon.net@mac.com>; Sun, 18 Jan 2004 12:51:13 -0600 Message-ID: <400AD59D.8040304@mac.com> Date: Sun, 18 Jan 2004 13:51:09 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Spades References: <092801c3dda8$8066a280$fa10fea9@bryanuptrvb0jc> In-Reply-To: <092801c3dda8$8066a280$fa10fea9@bryanuptrvb0jc> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out009.verizon.net from [68.161.129.47] at Sun, 18 Jan 2004 12:51:12 -0600 cc: freebsd-questions@freebsd.org Subject: Re: usernames with uppercase 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, 18 Jan 2004 18:51:16 -0000 Spades wrote: > I tried to add a username ie. Bryan, but FreeBSD doesn't allow me > to do so. It gives me illegal username error. Any idea how to go > about adding usernames like 'Bryan-admin' etc. You can create such users by directly editting the passwd database via 'vipw' rather than by running 'adduser'. Note that the restriction exists for a good reason (arguably), however-- expect mail delivery to break to that username, for example... -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 10:56:02 2004 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 8DBE116A4CE for ; Sun, 18 Jan 2004 10:56:02 -0800 (PST) Received: from mail.442spot.com (adsl-208-191-192-100.dsl.rcsntx.swbell.net [208.191.192.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD08043D2D for ; Sun, 18 Jan 2004 10:56:00 -0800 (PST) (envelope-from shooverfbn@442spot.com) Received: from localhost (localhost.442spot.com [127.0.0.1]) by amavis.442spot.com (Postfix) with ESMTP id 3924A35; Sun, 18 Jan 2004 12:56:00 -0600 (CST) Received: from mail.442spot.com ([127.0.0.1]) by localhost (mail.442spot.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02411-08; Sun, 18 Jan 2004 12:56:00 -0600 (CST) Received: from cutlass442 (unknown [192.168.2.130]) by mail.442spot.com (Postfix) with SMTP id EB84029; Sun, 18 Jan 2004 12:55:59 -0600 (CST) Message-ID: <004f01c3ddf4$bcf298c0$8202a8c0@cutlass442> From: "Stephen Hoover" To: "Gilad Rom" References: <200401152000.00111.ecrist@adtechintegrated.com><20040116032014.GC93061@grimoire.chen.org.nz><20040116081028.GA2485@ergo.nruns.com> <400A25ED.4060408@romat.com> <000901c3dd8d$75f036b0$8202a8c0@cutlass442> <400A6E8B.2090009@romat.com> Date: Sun, 18 Jan 2004 12:56:10 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at cc: freebsd-questions@freebsd.org Subject: Re: Success with Symantec Ghost 7 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, 18 Jan 2004 18:56:02 -0000 It took Ghost approximatly 1 hour to copy each 9G hard drive (2 hours total). The Dell has dual PIII 500's in it. Certainly not the fastest solution, but yet another option. Stephen Hoover Dallas, Texas ----- Original Message ----- From: "Gilad Rom" To: "Stephen Hoover" Cc: Sent: Sunday, January 18, 2004 5:31 AM Subject: Re: Success with Symantec Ghost 7 > Stephen Hoover wrote: > > I know the topic of "ghosting" a FreeBSD box is discussed on here from time > > to time. > > > > I just wanted to let everyone know I had a success using Ghost 7 on my > > current setup. I cloned it from a Dell PowerEdge 2450 to a generic desktop > > with same drive configuration (2 SCSI drives in each). I used Ghost to do a > > sector copy on each individual harddrive. > > > > All I had to do to get it rolling was boot to the GENERIC kernel, as the one > > I configured for the Dell server was SMP. Everything seemed to come up and > > work fine. It even saw additional drive space on the new machine, as the > > harddrives were slightly bigger. > > > > Just thought this was some good information for the list. > > > > Stephen Hoover > > Dallas, Texas > > > > > > _______________________________________________ > > 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" > > > > > Just out of curiousity - How long does it take for ghost to > replicate the disk? > > I'm using dd if=/dev/ad0 of=/dev/ad2 bs=16k for my disks > (2x20GB, EIDE, UDMA100), and it takes roughly 28 minutes. > > Gilad. > > > From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 11:01:27 2004 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 EBFBE16A4CE for ; Sun, 18 Jan 2004 11:01:27 -0800 (PST) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F35443D2D for ; Sun, 18 Jan 2004 11:01:25 -0800 (PST) (envelope-from nkinkade@fastmail.fm) X-Sasl-enc: 3Exti2qH6xIRbCqIBOE9jg 1074452479 Received: from [206.26.199.146] (unknown [206.27.244.214]) by www.fastmail.fm (Postfix) with ESMTP id 0377B4AE853; Sun, 18 Jan 2004 14:01:19 -0500 (EST) Received: from nkinkade by [206.26.199.146] with local (Exim 4.12) id 1AiIAM-0000ta-00; Sun, 18 Jan 2004 13:00:58 -0600 Date: Sun, 18 Jan 2004 13:00:58 -0600 From: Nathan Kinkade To: Lee Mx Message-ID: <20040118190058.GP5411@npkfbsd> Mail-Followup-To: Lee Mx , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KimiHFv5Iq53dGjv" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: Nathan Kinkade cc: freebsd-questions@freebsd.org Subject: Re: stumped... . X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 19:01:28 -0000 --KimiHFv5Iq53dGjv Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 18, 2004 at 10:22:46AM -0800, Lee Mx wrote: > >Here is another option using sed that takes 2 less keystrokes :) > > > >$ sed -e '/pattern/q' >=20 > This would give line 1 to the pattern, wouldn't it, Rather than pattern = to=20 > EOF. Yes, it would give line 1 to the pattern, inclusive. One of his original questions was: "How can I delete all lines from /^PATTERN to EOF??" Unless I'm reading it wrong, he wants to *keep* everything from the beginning of the file to /^PATTERN/ and NOT keep everything else all the way to EOF. The diff. between what I suggested and the what other suggested is that using 'q' would be inclusive, while the others are exclusive of the line matched by /^PATTERN/. However, it wasn't clear which he wanted. Nathan --=20 gpg --keyserver pgp.mit.edu --recv-keys D8527E49 --KimiHFv5Iq53dGjv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQFACtfqO0ZIEthSfkkRApkeAKDEt8MOkbXLcOR/F8MMHqjoUqoCwQCeNyqo 0dmt45w9oIbqLqs4vG4BF+0= =RskE -----END PGP SIGNATURE----- --KimiHFv5Iq53dGjv-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 11:04:50 2004 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 B06DA16A4CE for ; Sun, 18 Jan 2004 11:04:50 -0800 (PST) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D34143D45 for ; Sun, 18 Jan 2004 11:04:48 -0800 (PST) (envelope-from nkinkade@fastmail.fm) X-Sasl-enc: czgDHA1rEGmRRiq/5orR8A 1074452686 Received: from [206.26.199.146] (unknown [206.27.244.214]) by www.fastmail.fm (Postfix) with ESMTP id D4F0D4AE8B0; Sun, 18 Jan 2004 14:04:45 -0500 (EST) Received: from nkinkade by [206.26.199.146] with local (Exim 4.12) id 1AiIDh-0000u0-00; Sun, 18 Jan 2004 13:04:25 -0600 Date: Sun, 18 Jan 2004 13:04:25 -0600 From: Nathan Kinkade To: Peter Ulrich Kruppa Message-ID: <20040118190425.GQ5411@npkfbsd> Mail-Followup-To: Peter Ulrich Kruppa , asker survey , freebsd-questions@freebsd.org References: <20040118181859.98530.qmail@web40309.mail.yahoo.com> <20040118193742.A748@pukruppa.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcO8H+5aAz6RL0bM" Content-Disposition: inline In-Reply-To: <20040118193742.A748@pukruppa.net> User-Agent: Mutt/1.4.1i Sender: Nathan Kinkade cc: asker survey cc: freebsd-questions@freebsd.org Subject: Re: ftp authentication problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 19:04:50 -0000 --HcO8H+5aAz6RL0bM Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 18, 2004 at 07:39:00PM +0100, Peter Ulrich Kruppa wrote: > On Sun, 18 Jan 2004, asker survey wrote: >=20 > > Hello everybody; > > I upgraded my 4.4 FreeBSD to 4.9. I backed up the > > /usr/home directory and /etc/*. After installing > > FreeBSD 4.9 I copied passwd , master.passwd and the > > home directories. Now the users can log in through > > telnet or ssh. But when trying to access ftp this > > message is displayed after typing the username: > > 530 User testuser access denied. > > Login failed. > Please check, if the ftp line in /etc/inetd.conf is uncommented. > If not, remove the # and reboot. >=20 > Regards, >=20 > Uli. Better yet, instead of rebooting, just HUP inetd with # killall -HUP inetd =2E.. saves a reboot. Nathan --=20 gpg --keyserver pgp.mit.edu --recv-keys D8527E49 --HcO8H+5aAz6RL0bM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQFACti5O0ZIEthSfkkRAl0NAJ4pPptewUsO3EIk/9G5hffuDXG8wwCfTa2w 2ZIXwrIPk0FfHgvvINg5ueg= =3ymQ -----END PGP SIGNATURE----- --HcO8H+5aAz6RL0bM-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 11:19:24 2004 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 E1FCC16A4CE; Sun, 18 Jan 2004 11:19:24 -0800 (PST) Received: from vulcan.blacksburg.net (vulcan.blacksburg.net [66.208.157.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2277243D1F; Sun, 18 Jan 2004 11:19:21 -0800 (PST) (envelope-from mlevans@blacksburg.net) X-Envelope-From: mlevans@blacksburg.net Received: from p0ts1.blacksburg.net (pluto.blacksburg.net [66.208.157.5]) i0IJJJDW018829; Sun, 18 Jan 2004 14:19:20 -0500 (EST) (envelope-from mlevans@blacksburg.net) Message-Id: <5.1.0.14.0.20040118141604.07e86c80@pop.blacksburg.net> X-Sender: mlevans@pop.blacksburg.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 18 Jan 2004 14:19:17 -0500 To: freebsd-security@freebsd.org From: Lyle Evans Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: arp problem in /var/log/messages 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, 18 Jan 2004 19:19:25 -0000 At 07:14 AM 01/18/04, you wrote: >hi all, i got flooded by these msgs like 1000+ lines, any idea? >my kernel is dated Nov-30 FreeBSD 4.9-stable > ># tail -f /var/log/messages >Jan 18 19:43:23 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74 >to 00:50:0f:4f:c0:00 on rl0 >Jan 18 19:45:06 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00 >to 00:04:5a:49:eb:74 on rl0 >Jan 18 19:45:18 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74 >to 00:50:0f:4f:c0:00 on rl0 >Jan 18 19:45:41 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00 >to 00:04:5a:49:eb:74 on rl0 >Jan 18 19:45:45 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74 >to 00:50:0f:4f:c0:00 on rl You have a Linksys and Cisco device fighting over a IP address either they both think they own the address or one or maybe both are proxy arping for the address. The fields 00:04:5a:49:eb:74 & 00:50:0f:4f:c0:00 are the ethernet address of the Linksys and Cisco devices respectively. Regards, Lyle Evans evansl@rackears.com rackmount brackets for many networking and ISP equipment chassises http://www.rackears.com From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 11:20:01 2004 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 BF84616A4D0 for ; Sun, 18 Jan 2004 11:20:01 -0800 (PST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 44B5143D45 for ; Sun, 18 Jan 2004 11:19:50 -0800 (PST) (envelope-from krylon@gmx.net) Received: (qmail 23537 invoked by uid 65534); 18 Jan 2004 19:19:45 -0000 Received: from B6258.b.pppool.de (EHLO wintermute) (213.7.98.88) by mail.gmx.net (mp022) with SMTP; 18 Jan 2004 20:19:45 +0100 X-Authenticated: #685629 Date: Sun, 18 Jan 2004 20:20:20 +0100 From: Benjamin Walkenhorst To: freebsd-questions@FreeBSD.org Message-Id: <20040118202020.363c1b86.krylon@gmx.net> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386--netbsdelf) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Sun__18_Jan_2004_20_20_20_+0100_wzHcq.gPCaX2_bDa" Subject: Watching DVDs in 5.2 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, 18 Jan 2004 19:20:01 -0000 --Signature=_Sun__18_Jan_2004_20_20_20_+0100_wzHcq.gPCaX2_bDa Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit Hello everybody, I recently installed FreeBSD 5.2 on my Desktop machine. So far I am very pleased. I tried 5.0 in June, and I did not find it suitable for my needs, yet. Now the ISDN-card is gone from my machine and TV works in overlay-mode. =) So I am actually considering to make FreeBSD my primary OS on my desktop machine. There are some problems to be solved, though, most pressingly DVD-playback. ;-/ I installed mplayer and ogle via ports. They don't work... All I get is the following error message from mplayer: -------------------------------------------- Playing DVD title 1 Reading disc structure, please wait... libdvdread: Can't open file VIDEO_TS.IFO. Can't open VMG info! -------------------------------------------- Mmmh... I would like to watch DVDs pretty much, so what can I do? I tried reinstalling them, I made sure libdvd* is installed properly... And, yes, /dev/dvd is a symbolic link to /dev/acd0 which again has chmod 666. Some more about the machine: uname -a: FreeBSD neuromancer.krylon.net 5.2-RELEASE FreeBSD 5.2-RELEASE #2: Mon Jan 12 18:25:33 CET 2004 root@neuromancer.krylon.net:/usr/obj/usr/src/sys/NEUROMANCER i386 relevant parts of /var/run/dmesg.boot: atapci0: port 0xd000-0xd00f at device 7.1 on pci0 atapci0: Correcting VIA config for southbridge data corruption bug ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] result of 'atacontrol info 1': Master: no device present Slave: acd0 ATA/ATAPI rev 0 I'm afraid the problem is more application- or library-related... Who can give me a hint? Kind regards, Thank you very much, Benjamin --Signature=_Sun__18_Jan_2004_20_20_20_+0100_wzHcq.gPCaX2_bDa Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (NetBSD) iD8DBQFACtx6/JWwsvZUqOwRAhsbAKDPeIvXvHLVAv1b5Y5q3+hoEI3r3wCffaWD jUCSEv8rpEZgsIgY8d8ITJ8= =J4oX -----END PGP SIGNATURE----- --Signature=_Sun__18_Jan_2004_20_20_20_+0100_wzHcq.gPCaX2_bDa-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 11:23:51 2004 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 1540016A4D0 for ; Sun, 18 Jan 2004 11:23:51 -0800 (PST) Received: from mta5.adelphia.net (mta5.adelphia.net [68.168.78.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61C7B43D73 for ; Sun, 18 Jan 2004 11:22:58 -0800 (PST) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([67.20.101.103]) by mta13.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040118191159.EEEZ8989.mta13.adelphia.net@barbish>; Sun, 18 Jan 2004 14:11:59 -0500 From: "fbsd_user" To: "asker survey" , Date: Sun, 18 Jan 2004 14:11:59 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <20040118181859.98530.qmail@web40309.mail.yahoo.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: RE: ftp authentication problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 19:23:51 -0000 You did not move the group file over. Check the group the FTP user is. You did not say how you moved the files to 4.9 from 4.4. Check the permission on the home directories. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of asker survey Sent: Sunday, January 18, 2004 1:19 PM To: freebsd-questions@freebsd.org Subject: ftp authentication problem Hello everybody; I upgraded my 4.4 FreeBSD to 4.9. I backed up the /usr/home directory and /etc/*. After installing FreeBSD 4.9 I copied passwd , master.passwd and the home directories. Now the users can log in through telnet or ssh. But when trying to access ftp this message is displayed after typing the username: 530 User testuser access denied. Login failed. Thank you for you patience and attention. Since I am not in the list please send the reply to me directly. __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus _______________________________________________ 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 Jan 18 11:31:43 2004 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 B2DDE16A4CE for ; Sun, 18 Jan 2004 11:31:43 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id E86F743D49 for ; Sun, 18 Jan 2004 11:31:24 -0800 (PST) (envelope-from bulk_mail@siegel-tech.net) Received: from trekster (bgp01386182bgs.brodwy01.nm.comcast.net[68.35.160.36]) by comcast.net (sccrmhc12) with SMTP id <20040118193123012001sc24e> (Authid: leereinhart); Sun, 18 Jan 2004 19:31:24 +0000 From: Aaron Siegel To: freebsd-questions@freebsd.org Date: Sun, 18 Jan 2004 12:29:54 -0700 User-Agent: KMail/1.5.2 References: <000701c3ddc0$388363a0$6501a8c0@nsw.optushome.com.au> In-Reply-To: <000701c3ddc0$388363a0$6501a8c0@nsw.optushome.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181229.55488.bulk_mail@siegel-tech.net> Subject: Re: saving downloaded packages with pkg_add -r X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org, aj@siegel-tech.net, aaron-siegel@bresnan.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 19:31:43 -0000 I not sure were pkg_add -r downloads the packages. I have couple recommendations: 1. buy a full box set or download all four installation cd images. 2. install sysutils/portupgrade. This will automate the download off all packages. You can install the binary version and its dependent packages with the following comand: # portinstall -PR kdelibs (read the man page for more details) All the packages will be downloaded to the /usr/ports/packages filesystem. The ports collection is a moving target constantly changing it would be easier to download all new packages or stick with the packages and port collection found on the RELEASE cdroms. (That is my opinion) On Sunday 18 January 2004 05:40 am, Jon wrote: > Hi, > > When I do, say... > > pkg_add -r foo > > ... is foo-version.tar.gz stored anywhere? With ports, the source tarballs > are saved in /usr/ports/distfiles. But I can't find the downloaded packages > anywhere. Can't find mention of this either. > > Reason I ask is that I'm going to reinstall after using FBSD for the first > time, and I don't want to re-download all those packages again as I have a > quota. And I also don't want to have to manually download and save each > package & it's deps. > > Thanks! > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 11:35:53 2004 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 3196E16A4CE for ; Sun, 18 Jan 2004 11:35:53 -0800 (PST) Received: from web8207.mail.in.yahoo.com (web8207.mail.in.yahoo.com [203.199.70.76]) by mx1.FreeBSD.org (Postfix) with SMTP id E46E343D45 for ; Sun, 18 Jan 2004 11:35:49 -0800 (PST) (envelope-from manish_6983@yahoo.co.in) Message-ID: <20040118193548.5790.qmail@web8207.mail.in.yahoo.com> Received: from [203.199.146.111] by web8207.mail.in.yahoo.com via HTTP; Sun, 18 Jan 2004 19:35:48 GMT Date: Sun, 18 Jan 2004 19:35:48 +0000 (GMT) From: =?iso-8859-1?q?manish=20gautam?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Is there some source navigator for freebsd ? 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, 18 Jan 2004 19:35:53 -0000 Hi everybody...... I have worked in linux ....freebsd is a new to me..... is there some source navigator in freebsd ...if yes tell me about that best regards manish Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 11:38:35 2004 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 AAEB116A4CE for ; Sun, 18 Jan 2004 11:38:35 -0800 (PST) Received: from gldis.ca (constans.gldis.ca [66.11.169.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C41C43D54 for ; Sun, 18 Jan 2004 11:38:26 -0800 (PST) (envelope-from gldisater@gldis.ca) Received: from gldis.ca (localhost [127.0.0.1]) by gldis.ca (8.12.8p2/8.12.8) with ESMTP id i0IJZeBc021248; Sun, 18 Jan 2004 14:35:42 -0500 (EST) (envelope-from gldisater@gldis.ca) Message-ID: <400AE145.6050806@gldis.ca> Date: Sun, 18 Jan 2004 14:40:53 -0500 From: Jeremy Faulkner User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040117 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Benjamin Walkenhorst References: <20040118202020.363c1b86.krylon@gmx.net> In-Reply-To: <20040118202020.363c1b86.krylon@gmx.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on constans.gldis.ca cc: freebsd-questions@freebsd.org Subject: Re: Watching DVDs in 5.2 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, 18 Jan 2004 19:38:35 -0000 Benjamin Walkenhorst wrote: > Hello everybody, > > I recently installed FreeBSD 5.2 on my Desktop machine. So far I am > very pleased. I tried 5.0 in June, and I did not find it suitable for my > needs, yet. Now the ISDN-card is gone from my machine and TV works in > overlay-mode. =) So I am actually considering to make FreeBSD my primary > OS on my desktop machine. > There are some problems to be solved, though, most pressingly > DVD-playback. ;-/ > I installed mplayer and ogle via ports. They don't work... > All I get is the following error message from mplayer: > -------------------------------------------- > Playing DVD title 1 > Reading disc structure, please wait... > libdvdread: Can't open file VIDEO_TS.IFO. > Can't open VMG info! > -------------------------------------------- I only get this message when I force my dvd drive into DMA when it would normally use PIO4. > > Mmmh... I would like to watch DVDs pretty much, so what can I do? > I tried reinstalling them, I made sure libdvd* is installed properly... > And, yes, /dev/dvd is a symbolic link to /dev/acd0 which again has chmod > 666. > > Some more about the machine: > uname -a: > FreeBSD neuromancer.krylon.net 5.2-RELEASE FreeBSD 5.2-RELEASE #2: Mon > Jan 12 18:25:33 CET 2004 > root@neuromancer.krylon.net:/usr/obj/usr/src/sys/NEUROMANCER i386 > > relevant parts of /var/run/dmesg.boot: > > atapci0: port 0xd000-0xd00f at device > 7.1 on pci0 atapci0: Correcting VIA config for southbridge data > corruption bug ata0: at 0x1f0 irq 14 on atapci0 > ata0: [MPSAFE] > ata1: at 0x170 irq 15 on atapci0 > ata1: [MPSAFE] Where are the listings for the drives? > > result of 'atacontrol info 1': > > Master: no device present > Slave: acd0 ATA/ATAPI rev 0 > > I'm afraid the problem is more application- or library-related... Who > can give me a hint? I think you should put the drive into PIO and try again. > > Kind regards, > > Thank you very much, > > Benjamin -- Jeremy Faulkner http://www.gldis.ca From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 11:46:48 2004 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 4D72516A4CE for ; Sun, 18 Jan 2004 11:46:48 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E84AE43D2F for ; Sun, 18 Jan 2004 11:46:45 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i0IJkhk9098829; Sun, 18 Jan 2004 13:46:43 -0600 (CST) (envelope-from dan) Date: Sun, 18 Jan 2004 13:46:43 -0600 From: Dan Nelson To: Jer Message-ID: <20040118194643.GC1212@dan.emsphone.com> References: <6.0.1.1.2.20040118031949.01b247d8@data.multihaven.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.0.1.1.2.20040118031949.01b247d8@data.multihaven.org> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.5.1i cc: questions@freebsd.org Subject: Re: arp messages XXX is on but got reply.../multihoming problem 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, 18 Jan 2004 19:46:48 -0000 In the last episode (Jan 18), Jer said: > 4.9-REL > > sis0: inside network 192.168.XXX.XXX > > xl0: connection to RR commercial via DHCP > assigned ip 24.172.21.XXX gateway 24.172.21.219 nat'd > > rl0: unused > > What I want to do is plug in an RR home connection to the rl0 interface so > rl0 would then look like > rl0: connection to RR home via DHCP > It got assigned an IP of 66.57.248.XX gateway 66.57.248.1 > > When I do this I get 1000's of > arp: 66.57.248.1 is on rl0 but got reply from 00:07:0d:aa:ec:54 on xl0 > > and the speed of the xl0 slows to a crawl until I unplug the rl0 NIC Make sure your xl0 and rl0 nics are not plugged into the same switch or hub. If they aren't, and your setup currently looks like: ___________ 24.172.21.219 24.172.21.XXX ( )---[RR business DSL box]---[xl0] ( Internet ) (___________)---[RR home DSL box]-------[rl0] 66.57.248.1 66.57.248.XX , then RR may have problems providing both business and home DSL to the same location, since there's no way xl0 should be getting ARPs from 66.57.248.1. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 11:52:42 2004 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 3BC7716A4CE for ; Sun, 18 Jan 2004 11:52:42 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id B9D6743D39 for ; Sun, 18 Jan 2004 11:52:35 -0800 (PST) (envelope-from krylon@gmx.net) Received: (qmail 15220 invoked by uid 65534); 18 Jan 2004 19:52:32 -0000 Received: from B622f.b.pppool.de (EHLO wintermute) (213.7.98.47) by mail.gmx.net (mp003) with SMTP; 18 Jan 2004 20:52:32 +0100 X-Authenticated: #685629 Date: Sun, 18 Jan 2004 20:53:05 +0100 From: Benjamin Walkenhorst To: freebsd-questions@FreeBSD.org Message-Id: <20040118205305.75f69890.krylon@gmx.net> In-Reply-To: <400AE145.6050806@gldis.ca> References: <20040118202020.363c1b86.krylon@gmx.net> <400AE145.6050806@gldis.ca> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386--netbsdelf) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Sun__18_Jan_2004_20_53_05_+0100_jhsBVo_x53RaQUFo" Subject: Re: Watching DVDs in 5.2 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, 18 Jan 2004 19:52:42 -0000 --Signature=_Sun__18_Jan_2004_20_53_05_+0100_jhsBVo_x53RaQUFo Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Sun, 18 Jan 2004 14:40:53 -0500 Jeremy Faulkner wrote: > Benjamin Walkenhorst wrote: > I only get this message when I force my dvd drive into DMA when it > would normally use PIO4. > > relevant parts of /var/run/dmesg.boot: > > > > atapci0: port 0xd000-0xd00f at > > device 7.1 on pci0 atapci0: Correcting VIA config for southbridge > > data corruption bug ata0: at 0x1f0 irq 14 on atapci0 > > ata0: [MPSAFE] > > ata1: at 0x170 irq 15 on atapci0 > > ata1: [MPSAFE] > > Where are the listings for the drives? Ooops, sorry. Here we go: atapibus0 at pciide0 channel 1: 2 targets cd0 at atapibus0 drive 0: type 5 cdrom removable cd0: 32-bit data port cd0: drive supports PIO mode 4, DMA mode 2 pciide0: secondary channel interrupting at irq 15 cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers) > > I'm afraid the problem is more application- or library-related... > > Who can give me a hint? > > I think you should put the drive into PIO and try again. Mmmh, I'll try... Thank you very much, Benjamin > -- > Jeremy Faulkner http://www.gldis.ca > --Signature=_Sun__18_Jan_2004_20_53_05_+0100_jhsBVo_x53RaQUFo Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (NetBSD) iD8DBQFACuQh/JWwsvZUqOwRAsprAJ9ce5WA3PVGA60RirORujkeA8Kb+QCgwQzQ tGGIPQx4X8WnGs98NkQCKRg= =m7q2 -----END PGP SIGNATURE----- --Signature=_Sun__18_Jan_2004_20_53_05_+0100_jhsBVo_x53RaQUFo-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 12:05:26 2004 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 552AF16A4CE for ; Sun, 18 Jan 2004 12:05:26 -0800 (PST) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AD8D43D1F for ; Sun, 18 Jan 2004 12:05:25 -0800 (PST) (envelope-from bulk_mail@siegel-tech.net) Received: from trekster (bgp01386182bgs.brodwy01.nm.comcast.net[68.35.160.36]) by comcast.net (rwcrmhc13) with SMTP id <2004011820052401500llf9ie> (Authid: leereinhart); Sun, 18 Jan 2004 20:05:24 +0000 From: Aaron Siegel To: freebsd-questions@freebsd.org Date: Sun, 18 Jan 2004 13:03:56 -0700 User-Agent: KMail/1.5.2 References: <20040118093957.OAAO8186.out004.verizon.net@outgoing.verizon.net> In-Reply-To: <20040118093957.OAAO8186.out004.verizon.net@outgoing.verizon.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181303.56388.bulk_mail@siegel-tech.net> Subject: Re: Does FreeBSD sell How to videos? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org, aj@siegel-tech.net, aaron-siegel@bresnan.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 20:05:26 -0000 FreeBSD is a controlled complete through a console ( command line) interface, I do not believe watching someone typing in commands a the prompt or text editor will be very helpful. It is completely different then the graphical interface of Windows which require the user to navigate the maze of graphical windows. There are a lot of good books written on the use of FreeBSD, go to your favorite book store and check one of them out. The will provide more efficient method of learning FreeBSD than a video. There may be some video for desktop applications (staroffice, kde, gnome, gimp) targeted at linux users? On Sunday 18 January 2004 02:39 am, dvelez502@verizon.net wrote: > Hello FreeBSD gurus, > > Do you know if FreeBSD sells > video/cdrom training products? > > I surely appreciate your > feedback. > > Thanks > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 12:05:33 2004 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 D7EE516A4CE for ; Sun, 18 Jan 2004 12:05:33 -0800 (PST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id A99A443D2D for ; Sun, 18 Jan 2004 12:05:30 -0800 (PST) (envelope-from krylon@gmx.net) Received: (qmail 21587 invoked by uid 65534); 18 Jan 2004 20:05:21 -0000 Received: from B6270.b.pppool.de (EHLO wintermute) (213.7.98.112) by mail.gmx.net (mp013) with SMTP; 18 Jan 2004 21:05:21 +0100 X-Authenticated: #685629 Date: Sun, 18 Jan 2004 21:05:54 +0100 From: Benjamin Walkenhorst To: freebsd-questions@FreeBSD.org Message-Id: <20040118210554.4be0d15a.krylon@gmx.net> In-Reply-To: <20040118205305.75f69890.krylon@gmx.net> References: <20040118202020.363c1b86.krylon@gmx.net> <400AE145.6050806@gldis.ca> <20040118205305.75f69890.krylon@gmx.net> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386--netbsdelf) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Sun__18_Jan_2004_21_05_54_+0100_qo3Qvup31/nPHI8N" Subject: Re: Watching DVDs in 5.2 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, 18 Jan 2004 20:05:34 -0000 --Signature=_Sun__18_Jan_2004_21_05_54_+0100_qo3Qvup31/nPHI8N Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Sun, 18 Jan 2004 20:53:05 +0100 Benjamin Walkenhorst wrote: > On Sun, 18 Jan 2004 14:40:53 -0500 > Jeremy Faulkner wrote: > > I think you should put the drive into PIO and try again. > > Mmmh, I'll try... Didn't work. I put it into PIO-mode, didn't work, I put it into UDMA-mode, didn't work. (atacontrol mode 0 BIOSPIO PIO4) Either the controller is causing a problem - dmesg.boot mentioned a data-corruption-bug...? Or it *is* a problem with some of the dvd-related libraries... Kind regards, Benjamin --Signature=_Sun__18_Jan_2004_21_05_54_+0100_qo3Qvup31/nPHI8N Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (NetBSD) iD8DBQFACuci/JWwsvZUqOwRAoAPAJ4x70UROyWIEe8N5yulDJKZwdO9xACfZAS9 r1AaogcZlQ6EXRptpmO4G4s= =6tmC -----END PGP SIGNATURE----- --Signature=_Sun__18_Jan_2004_21_05_54_+0100_qo3Qvup31/nPHI8N-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 12:10:24 2004 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 65EF916A4CE for ; Sun, 18 Jan 2004 12:10:24 -0800 (PST) Received: from data.multihaven.org (rrcs-midsouth-24-172-21-200.biz.rr.com [24.172.21.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF2A043D31 for ; Sun, 18 Jan 2004 12:10:22 -0800 (PST) (envelope-from jer@multihaven.org) Received: from engineering.multihaven.org (engineering.multihaven.org [192.168.215.2])i0IK90qq001065; Sun, 18 Jan 2004 15:09:00 -0500 (EST) (envelope-from jer@multihaven.org) Message-Id: <6.0.1.1.2.20040118150353.01b65710@data.multihaven.org> X-Sender: jeremy@data.multihaven.org X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 18 Jan 2004 15:09:48 -0500 To: Dan Nelson From: Jer In-Reply-To: <20040118194643.GC1212@dan.emsphone.com> References: <6.0.1.1.2.20040118031949.01b247d8@data.multihaven.org> <20040118194643.GC1212@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: questions@freebsd.org Subject: Re: arp messages XXX is on but got reply.../multihoming problem 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, 18 Jan 2004 20:10:24 -0000 At 02:46 PM 1/18/2004, you wrote: >In the last episode (Jan 18), Jer said: > > 4.9-REL > > > > sis0: inside network 192.168.XXX.XXX > > > > xl0: connection to RR commercial via DHCP > > assigned ip 24.172.21.XXX gateway 24.172.21.219 nat'd > > > > rl0: unused > > > > What I want to do is plug in an RR home connection to the rl0 interface so > > rl0 would then look like > > rl0: connection to RR home via DHCP > > It got assigned an IP of 66.57.248.XX gateway 66.57.248.1 > > > > When I do this I get 1000's of > > arp: 66.57.248.1 is on rl0 but got reply from 00:07:0d:aa:ec:54 on xl0 > > > > and the speed of the xl0 slows to a crawl until I unplug the rl0 NIC > >Make sure your xl0 and rl0 nics are not plugged into the same switch or >hub. If they aren't, and your setup currently looks like: > > ___________ 24.172.21.219 24.172.21.XXX >( )---[RR business DSL box]---[xl0] >( Internet ) >(___________)---[RR home DSL box]-------[rl0] > 66.57.248.1 66.57.248.XX > >, then RR may have problems providing both business and home DSL to the >same location, since there's no way xl0 should be getting ARPs from >66.57.248.1. They are not plugged into the same switch rl0 is pligged directly into the RR home modem >-- > Dan Nelson > dnelson@allantgroup.com >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 12:21:19 2004 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 4BAAC16A4CE for ; Sun, 18 Jan 2004 12:21:19 -0800 (PST) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BDBA43D45 for ; Sun, 18 Jan 2004 12:21:12 -0800 (PST) (envelope-from stanb@panix.com) Received: from panix.com (brillig.panix.com [166.84.1.76]) by mail3.panix.com (Postfix) with ESMTP id 79EC4982EB for ; Sun, 18 Jan 2004 15:21:11 -0500 (EST) Received: from teddy.fas.com (pcp01010374pcs.mplsnt01.sc.comcast.net [68.58.176.69]) by panix.com (Postfix) with ESMTP id B54352AA10 for ; Sun, 18 Jan 2004 15:21:02 -0500 (EST) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1AiJPq-0007eQ-00 for ; Sun, 18 Jan 2004 15:21:02 -0500 Date: Sun, 18 Jan 2004 15:21:01 -0500 From: stan To: Free BSD Questions list Message-ID: <20040118202101.GA29386@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 15:19:48 up 14 days, 2:23, 1 user, load average: 0.00, 0.02, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: portupgrade seesm to be broken 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, 18 Jan 2004 20:21:19 -0000 I just cvsup'd one of may machines, and now I can't seem o get portupgrade to work. Here is what I'm seesing: Script started on Sun Jan 18 15:18:53 2004 black# portupgrade -aRr -l /home/stan/report fwbuilder-1.1.2_20040101cvs: 1.1.2_20040101cvs: Not in due form: '= [_][,]'. black# pkgdb -F ---> Checking the package registry database fwbuilder-1.1.2_20040101cvs: 1.1.2_20040101cvs: Not in due form: '= [_][,]'. black# ^D=08=08exit Script done on Sun Jan 18 15:19:15 2004 Can anyone sugest how I can fix this? --=20 "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 12:22:18 2004 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 D2B4A16A4CE for ; Sun, 18 Jan 2004 12:22:18 -0800 (PST) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1438E43D41 for ; Sun, 18 Jan 2004 12:22:17 -0800 (PST) (envelope-from stanb@panix.com) Received: from panix.com (brillig.panix.com [166.84.1.76]) by mail3.panix.com (Postfix) with ESMTP id 96A4398498; Sun, 18 Jan 2004 15:22:16 -0500 (EST) Received: from teddy.fas.com (pcp01010374pcs.mplsnt01.sc.comcast.net [68.58.176.69]) by panix.com (Postfix) with ESMTP id A8DBE2AA10; Sun, 18 Jan 2004 15:22:15 -0500 (EST) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1AiJQy-0007ee-00; Sun, 18 Jan 2004 15:22:12 -0500 Date: Sun, 18 Jan 2004 15:22:12 -0500 From: stan To: Free BSD Questions list Message-ID: <20040118202212.GB29386@teddy.fas.com> Mail-Followup-To: Free BSD Questions list , Matthew Seaman References: <20040118173108.GB24876@teddy.fas.com> <20040118174218.GB1712@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040118174218.GB1712@happy-idiot-talk.infracaninophile.co.uk> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 15:19:48 up 14 days, 2:23, 1 user, load average: 0.00, 0.02, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: Re: Getting snmp running on a STABLE machine? 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, 18 Jan 2004 20:22:18 -0000 On Sun, Jan 18, 2004 at 05:42:18PM +0000, Matthew Seaman wrote: > On Sun, Jan 18, 2004 at 12:31:08PM -0500, stan wrote: > > I'm trying to get snmp running on a STABLE machine. I've built and > > installed teh net-snmpd port, but I can't seem to find where teh example > > config file was put. > > > > Any sugestions? > > /usr/local/share/snmp -- if you use the snmpconf(1) program with the > '-i' flag it will walk you through generating the config files and > then install them into the correct place for global access: > > # snmpconf -i -g basic_setup > > See also snmp.conf(5), snmpd.conf(5) > Thank you sir! That's most helpful. -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 12:36:52 2004 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 1E91A16A4CE for ; Sun, 18 Jan 2004 12:36:52 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9C7D43D55 for ; Sun, 18 Jan 2004 12:36:44 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i0IKaiXw079466; Sun, 18 Jan 2004 14:36:44 -0600 (CST) (envelope-from dan) Date: Sun, 18 Jan 2004 14:36:44 -0600 From: Dan Nelson To: Kris Kennaway Message-ID: <20040118203644.GA76639@dan.emsphone.com> References: <200401171338.15670.ajacoutot@lphp.org> <200401172027.19927.ajacoutot@lphp.org> <20040117220110.GB78912@xor.obsecurity.org> <200401181458.44948.ajacoutot@lphp.org> <20040118140539.GA87622@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040118140539.GA87622@xor.obsecurity.org> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.5.1i cc: Antoine Jacoutot cc: freebsd-questions@freebsd.org Subject: Re: rpc.lockd segfault 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, 18 Jan 2004 20:36:52 -0000 In the last episode (Jan 18), Kris Kennaway said: > On Sun, Jan 18, 2004 at 02:58:44PM +0100, Antoine Jacoutot wrote: > > > Unfortunately that doesn't give any information. You'll need to > > > recompile rpc.lockd with GDB debugging symbols (add -ggdb to > > > CFLAGS). See the developer's handbook on the website for more > > > information about debugging program failures with gdb > > > (specifically, how to obtain a useful backtrace). > > > $ gdb /usr/sbin/rpc.lockd > > > How come no debugging symbols are found ? > > > install -s -o root -g wheel -m 555 rpc.lockd /usr/sbin > ^^ > > This strips the debugging symbols. Run gdb against the version of the > binary in the obj/ directory. If you add the -g flag to DEBUG_FLAGS instead of directly to CFLAGS, that will tell the install target not to strip the final binaries (see bsd.prog.mk). -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 12:56:24 2004 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 4190F16A4CE; Sun, 18 Jan 2004 12:56:24 -0800 (PST) Received: from 82-41-27-158.cable.ubr04.edin.blueyonder.co.uk (82-41-27-158.cable.ubr04.edin.blueyonder.co.uk [82.41.27.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 368F943D41; Sun, 18 Jan 2004 12:56:21 -0800 (PST) (envelope-from andrew@cream.org) Received: from cream.org (spatula.flat [192.168.0.2]) by myriad.flat (Postfix) with ESMTP id 61EC9C2; Sun, 18 Jan 2004 19:49:03 +0000 (GMT) Message-ID: <400AF2F7.60702@cream.org> Date: Sun, 18 Jan 2004 20:56:23 +0000 From: Andrew Boothman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: horio shoichi References: <09bd01c3ddbc$9f829070$fa10fea9@bryanuptrvb0jc> <20040118.184351.3b20743ee03ef7d3.10.0.3.9@bugsgrief.net> In-Reply-To: <20040118.184351.3b20743ee03ef7d3.10.0.3.9@bugsgrief.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-security@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: arp problem in /var/log/messages 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, 18 Jan 2004 20:56:24 -0000 horio shoichi wrote: >>hi all, i got flooded by these msgs like 1000+ lines, any idea? >>my kernel is dated Nov-30 FreeBSD 4.9-stable >> >># tail -f /var/log/messages >>Jan 18 19:43:23 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74 >>to 00:50:0f:4f:c0:00 on rl0 >>Jan 18 19:45:06 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00 >>to 00:04:5a:49:eb:74 on rl0 >>Jan 18 19:45:18 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74 >>to 00:50:0f:4f:c0:00 on rl0 >>Jan 18 19:45:41 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00 >>to 00:04:5a:49:eb:74 on rl0 >>Jan 18 19:45:45 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74 >>to 00:50:0f:4f:c0:00 on rl0 > > > # sysctl net.link.ether.inet.log_arp_wrong_iface=1 > > should mask the messages. Shouldn't that be net.link.ether.inet.log_arp_movements ? myriad# sysctl -d net.link.ether.inet.log_arp_movements net.link.ether.inet.log_arp_movements: log arp replies from MACs different than the one in the cache I get these messages about 10/day on an interface that's connected to a cable modem network (Blueyonder in the UK). I've just set this sysctl to see if it stops these messages for me. Andrew From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 13:19:55 2004 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 D397116A4CE for ; Sun, 18 Jan 2004 13:19:55 -0800 (PST) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8149443D2D for ; Sun, 18 Jan 2004 13:19:54 -0800 (PST) (envelope-from kline@thought.org) Received: from thought.org (root@tao [10.0.0.247]) by sage.thought.org (8.12.9/8.11.4) with ESMTP id i0ILJsGH050705; Sun, 18 Jan 2004 13:19:56 -0800 (PST) (envelope-from kline@thought.org) Received: (from kline@localhost) by thought.org (8.12.6/8.11.3) id i0ILJpJe041308; Sun, 18 Jan 2004 13:19:51 -0800 (PST) (envelope-from kline) Date: Sun, 18 Jan 2004 13:19:51 -0800 From: Gary Kline To: Lee Mx Message-ID: <20040118211951.GB41181@tao.thought.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 17 years of service to the Unix community User-Agent: Mutt/1.5.5.1i cc: kline@thought.org cc: freebsd-questions@freebsd.org Subject: Re: stumped... . 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, 18 Jan 2004 21:19:55 -0000 On Sun, Jan 18, 2004 at 04:19:04AM -0800, Lee Mx wrote: > > >> > On Sat, 17 Jan 2004, Gary Kline wrote: > >> > > >> > > > >> Wouldn't it be neater to do > >> > >> nawk '/^PATTERN/ { exit } ; { print }' > > Couldn't sed '/^PATTERN/,$d' < foo > bar be a bit faster? > This is what I scripted in /bin/sh with my 79 files. :-X gary -- Gary Kline kline@thought.org www.thought.org Public service Unix From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 13:21:01 2004 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 E912116A4CE for ; Sun, 18 Jan 2004 13:21:01 -0800 (PST) Received: from imf22aec.mail.bellsouth.net (imf22aec.mail.bellsouth.net [205.152.59.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3AAB43D3F for ; Sun, 18 Jan 2004 13:20:55 -0800 (PST) (envelope-from jadams01@sprynet.com) Received: from sprynet.com ([68.19.85.62]) by imf22aec.mail.bellsouth.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040118212055.FFWL1951.imf22aec.mail.bellsouth.net@sprynet.com> for ; Sun, 18 Jan 2004 16:20:55 -0500 Date: Sun, 18 Jan 2004 16:22:43 -0500 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: John Adams To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: <4005128A.50003@yahoo.co.nz> Message-Id: <745038D4-49FC-11D8-97CC-000393C505EC@sprynet.com> X-Mailer: Apple Mail (2.553) Subject: mouse and curl problems 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, 18 Jan 2004 21:21:02 -0000 Hi, folks, I've gotten my modem problems straightened out--and thanks for the help! Now, I've got two other oddities going on. (By the way, I've yet to upgrade to 4.9--that'll be soon, but not today--and I'm still on 4.6 for now.) First, my mouse--a very vanilla two-button PS/2--is not doing the right thing (or anything at all). I first turned it on with /stand/sysinstall and it appeared (on that screen) to be working correctly, but didn't know to do a vidcontrol -m on, so I started mucking around with the configuration. Now, I can't get it to appear normal in /stand/sysinstall, and it also flickers on the screen. It'll "select" when I click, but it doesn't select consistently, and it does not paste. I've yet to set up X--this is strictly on the bare screen. This is frustrating, but not horrible. Second, curl 7.10.7 will pkg_add, but when I try to use it (to resume the download of XFree86-fontScalable, which was almost done when we got a power hit), it tells me /usr/libexec/ld-elf.so.1: Shared object "libssl.so.3" not found. Is this just a bad setting for LD_LIBRARY_PATH? Or something else? Thanks, John A From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 13:26:04 2004 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 EB6BC16A4CF for ; Sun, 18 Jan 2004 13:26:04 -0800 (PST) Received: from pd5mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B9F343D49 for ; Sun, 18 Jan 2004 13:26:01 -0800 (PST) (envelope-from aardvark@saintaardvarkthecarpeted.com) Received: from pd5mr3so.prod.shaw.ca (pd5mr3so-qfe3.prod.shaw.ca [10.0.141.144]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HRP00957FGDOB@l-daemon> for freebsd-questions@freebsd.org; Sun, 18 Jan 2004 14:24:13 -0700 (MST) Received: from pn2ml3so.prod.shaw.ca (pn2ml3so-qfe0.prod.shaw.ca [10.0.121.147]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HRP00JICFGCKG@l-daemon> for freebsd-questions@freebsd.org; Sun, 18 Jan 2004 14:24:12 -0700 (MST) Received: from francisco.saintaardvarkthecarpeted.com ([24.87.202.31]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HRP00K3PFGB94@l-daemon> for freebsd-questions@freebsd.org; Sun, 18 Jan 2004 14:24:12 -0700 (MST) Received: from hardesty.hardesty.saintaardvarkthecarpeted.com ([192.168.23.1]) by francisco.saintaardvarkthecarpeted.com (8.12.9/8.12.9) with ESMTP id i0ILbPdi083942 for ; Sun, 18 Jan 2004 13:37:25 -0800 Received: from aardvark by hardesty.hardesty.saintaardvarkthecarpeted.com with local (Exim 3.36 #1 (Debian)) id 1AiKKs-0000EJ-00 for ; Sun, 18 Jan 2004 13:19:59 -0800 Date: Sun, 18 Jan 2004 13:19:58 -0800 From: Saint Aardvark the Carpeted Sender: Debian User To: freebsd-questions@freebsd.org Message-id: <20040118211958.GP11291@hardesty.saintaardvarkthecarpeted.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.5.4i Subject: ypset(8) attempts to bind to Weird IP (and possible solution) 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, 18 Jan 2004 21:26:05 -0000 A while back I came across some strange behaviour with ypset(8). I was having trouble at work making a host bind to our NIS server, so I thought I'd try using ypset. When running these commands: domainname [domain] ypbind ypset -h localhost -d [domain] 192.168.0.254 and watching network traffic with tcpdump, I found UDP packets going off to port 111 on an IP address I'd never seen before: 164.110.15.40. As far as I could tell, it was trying to bind to the Weird IP (tm) instead of our NIS server. The domainname didn't seem to matter or change things; I tried both the domain we use at work, and "foo" without any change in behaviour. The same goes for the IP address I had specified, which was that of the local NIS server. The Weird IP was was completely unrelated to the local network (192.168.0.0/24), and turns out to belong to the Washington State Department of Transportation (!). I tried this again at home, and exactly the same behaviour was seen. A couple days ago I decided to track this down, and found nearly the same behaviour; the difference is that this time, the Weird IP was 132.110.15.40, which turns out to belong to the US Army National Guard Bureau (!!). Again, that IP address is *completely* different from anything on my local network or my public IP address. This is all using 4.8-RELEASE; however, the relevant code for ypset appears to be the same in 4.9-RELEASE. Each test was done on a box that had one interface, IP address 10.0.0.1, going to a gateway box (10.0.0.254) with an external IP (192.168.0.100 at work, 192.168.23.254 at home). I varied the IP addresses at home, but saw the same behaviour each time. To make a long story short, I compiled a debug version of ypset and stepped through it with gdb. I narrowed it down to this range of code: 120 struct hostent *hent; [snip] 130 sin.sin_addr.s_addr = htonl(0x7f000001); 131 132 while ((c = getopt(argc, argv, "h:d:")) != -1) 133 switch (c) { 134 case 'd': 135 domainname = optarg; 136 break; 137 case 'h': 138 if ((sin.sin_addr.s_addr = inet_addr(optarg)) == -1) { 139 hent = gethostbyname(optarg); 140 if (hent == NULL) 141 errx(1, "host %s unknown", optarg); 142 bcopy(&hent->h_addr_list[0], &sin.sin_addr, 143 sizeof sin.sin_addr); 144 } 145 break; 146 default: 147 usage(); 148 } This chunk goes over the arguments to ypset; pretty much immediately afterward, it calls bind_tohost() with sin as one of its arguments. The problem seems to come in at lines 142/143: before this, sin.sin_addr.s_addr is localhost (as set at line 130), as is hent->h_addr_list[0][0]. *After* this, it's set with the Weird IP, bind_tohost() is called, and packets go off to the Weird IP. ObDisclaimer: I Am Not A Programmer, and my knowledge of C is pretty slim. But: if I change lines 142/143 to: bcopy(&hent->h_addr_list[0][0], &sin.sin_addr, sizeof sin.sin_addr); then the Weird IP doesn't show up in sin, and ypset only tries to bind to the IP address listed in its arguments. Looking through man pages and header files, it looks like hostent->h_addr_list is an array of pointers to chars (is that the right term?): char **h_addr_list and so gethostbyname is returning the IP address as the *first entry* in that list. It makes sense to me, then, that bcopy should have h_addr_list[0][0] as its first argument. *But*, as I mentioned, I'm no programmer. I find it hard to believe that I could pick up a mistake that simple, especially when I'm not at all familiar with using sockets, or that this simple-seeming fix wouldn't introduce more problems. So -- what's going on? Is this a real bug, or have I misunderstood something? Please let me know if I've left anything out, or if there's a better place to ask this question. Thanks for your time, everyone! -- Saint Aardvark the Carpeted aardvark@saintaardvarkthecarpeted.com Because the plural of Anecdote is Myth. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 13:26:56 2004 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 042DB16A4CE for ; Sun, 18 Jan 2004 13:26:56 -0800 (PST) Received: from gw.pelleg.org (gw.pelleg.org [205.201.13.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id B618E43D39 for ; Sun, 18 Jan 2004 13:26:49 -0800 (PST) (envelope-from daniel+bsd@pelleg.org) Received: from lank.here (lank.wburn [192.168.3.41]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "gw.pelleg.org", Issuer "Dan Pelleg" (verified OK)) by gw.pelleg.org (Postfix) with ESMTP id 754A75A53; Sun, 18 Jan 2004 16:26:47 -0500 (EST) Received: by lank.here (Postfix, from userid 7675) id C7B338AB; Sun, 18 Jan 2004 16:26:44 -0500 (EST) To: manish gautam References: <20040118193548.5790.qmail@web8207.mail.in.yahoo.com> From: Dan Pelleg Date: Sun, 18 Jan 2004 16:26:43 -0500 In-Reply-To: <20040118193548.5790.qmail@web8207.mail.in.yahoo.com> (manish gautam's message of "Sun, 18 Jan 2004 19:35:48 +0000 (GMT)") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.1 (Cuyahoga Valley, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: Is there some source navigator for freebsd ? 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, 18 Jan 2004 21:26:56 -0000 manish gautam writes: > > Hi everybody...... > > I have worked in linux ....freebsd is a new to me..... > > is there some source navigator in freebsd ...if yes tell me about that > > best regards > > manish > http://fxr.watson.org/ -- Dan Pelleg From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 13:34:44 2004 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 072BE16A4CE for ; Sun, 18 Jan 2004 13:34:44 -0800 (PST) Received: from www6.web2010.com (www6.web2010.com [216.157.5.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id D315B43D2D for ; Sun, 18 Jan 2004 13:34:42 -0800 (PST) (envelope-from MLandman@face2interface.com) Received: from delliver.face2interface.com (dialup-wash-129-203.thebiz.net [64.30.129.203] (may be forged)) by www6.web2010.com (8.12.10/8.9.0) with ESMTP id i0ILY7YF010783 for ; Sun, 18 Jan 2004 16:34:13 -0500 (EST) Message-Id: <6.0.0.22.0.20040118163155.214489e8@pop.face2interface.com> X-Sender: face@pop.face2interface.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sun, 18 Jan 2004 16:34:31 -0500 To: freebsd-questions@freebsd.org From: Marty Landman Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: phantom user 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, 18 Jan 2004 21:34:44 -0000 It's me I guess; have fbsd 4.8 rlse on a box on my lan. I normally log on via ssh from my win xp workstation. #w 4:31PM up 28 days, 3:01, 2 users, load averages: 0.18, 0.06, 0.01 USER TTY FROM LOGIN@ IDLE WHAT marty p0 penguin 3:08PM - w marty p1 192:S.0 31Dec03 18days /bin/csh # So the first user is my ssh session (ssh'd in from an ssh session to my linux box via my xp box) but what is the session on p1? Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 13:41:26 2004 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 C1A8716A4CE for ; Sun, 18 Jan 2004 13:41:26 -0800 (PST) Received: from shaft.techsupport.co.uk (shaft.techsupport.co.uk [212.250.77.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C0BF43D31 for ; Sun, 18 Jan 2004 13:41:24 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from cpc2-cdif3-6-0-cust204.cdif.cable.ntl.com ([81.103.67.204] helo=shrike.submonkey.net ident=mailnull) by shaft.techsupport.co.uk with esmtp (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.30; FreeBSD) id 1AiKfb-0000NT-6s; Sun, 18 Jan 2004 21:41:23 +0000 Received: from setantae by shrike.submonkey.net with local (Exim 4.30; FreeBSD) id 1AiKfZ-0001vr-5y; Sun, 18 Jan 2004 21:41:21 +0000 Date: Sun, 18 Jan 2004 21:41:21 +0000 From: Ceri Davies To: Marty Landman Message-ID: <20040118214121.GF47004@submonkey.net> References: <6.0.0.22.0.20040118163155.214489e8@pop.face2interface.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FN+gV9K+162wdwwF" Content-Disposition: inline In-Reply-To: <6.0.0.22.0.20040118163155.214489e8@pop.face2interface.com> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.4i Sender: Ceri Davies cc: freebsd-questions@freebsd.org Subject: Re: phantom user 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, 18 Jan 2004 21:41:26 -0000 --FN+gV9K+162wdwwF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 18, 2004 at 04:34:31PM -0500, Marty Landman wrote: > It's me I guess; have fbsd 4.8 rlse on a box on my lan. I normally log on= =20 > via ssh from my win xp workstation. >=20 > #w > 4:31PM up 28 days, 3:01, 2 users, load averages: 0.18, 0.06, 0.01 > USER TTY FROM LOGIN@ IDLE WHAT > marty p0 penguin 3:08PM - w > marty p1 192:S.0 31Dec03 18days /bin/csh > # >=20 > So the first user is my ssh session (ssh'd in from an ssh session to my= =20 > linux box via my xp box) but what is the session on p1? screen -ls Ceri --=20 --FN+gV9K+162wdwwF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFACv2AocfcwTS3JF8RAnCYAJ4tgcCj3qI2o+hGbefo0rPcuwpIvgCgupmf S1Mo+LBgFLCkemy5w1/a/QA= =Rbwl -----END PGP SIGNATURE----- --FN+gV9K+162wdwwF-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 13:42:15 2004 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 40B3D16A4CE for ; Sun, 18 Jan 2004 13:42:15 -0800 (PST) Received: from 82-41-27-158.cable.ubr04.edin.blueyonder.co.uk (82-41-27-158.cable.ubr04.edin.blueyonder.co.uk [82.41.27.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA55143D1F for ; Sun, 18 Jan 2004 13:42:11 -0800 (PST) (envelope-from andrew@cream.org) Received: from cream.org (spatula.flat [192.168.0.2]) by myriad.flat (Postfix) with ESMTP id DECD7C2; Sun, 18 Jan 2004 20:35:02 +0000 (GMT) Message-ID: <400AFDBD.6000808@cream.org> Date: Sun, 18 Jan 2004 21:42:21 +0000 From: Andrew Boothman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: hartzell@kestrel.alerce.com References: <16394.51553.280751.990205@rosebud.alerce.com> In-Reply-To: <16394.51553.280751.990205@rosebud.alerce.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Should /nonexistent home dir actually exist? 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, 18 Jan 2004 21:42:15 -0000 George Hartzell wrote: > I just noticed > > a) that several accounts (from ports stuff, it seems) on a -stable > system use /nonexistent as their home directory > > (ghost)[9:50am]log>>grep nonexist /etc/passwd > pop:*:68:6:Post Office Owner:/nonexistent:/sbin/nologin > www:*:80:80:World Wide Web Owner:/nonexistent:/sbin/nologin > nobody:*:65534:65534:Unprivileged user:/nonexistent:/sbin/nologin > gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin > dnslog:*:1002:1002:DJBdns Logger:/nonexistent:/sbin/nologin > dnscache:*:1003:1003:DJBdns Cache owner:/nonexistent:/sbin/nlogin > stunnel:*:1004:1004:stunnel Daemon:/nonexistent:/sbin/nologin > cyrus:*:60:60:the cyrus mail server:/nonexistent:/sbin/nologin > ldap:*:389:389:OpenLDAP Server:/nonexistent:/sbin/nologin > > and > > b) that it seems to exist.... > > (ghost)[9:50am]log>>ls -la /nonexistent/ > total 20 > drwxr-xr-x 2 ftp ftp 512 Jun 1 2003 . > drwxr-xr-x 20 root wheel 512 Jan 15 12:07 .. > -rw-r--r-- 1 dnslog dnslog 771 Jun 1 2003 .cshrc > -rw-r--r-- 1 dnslog dnslog 255 Jun 1 2003 .login > -rw-r--r-- 1 dnslog dnslog 165 Jun 1 2003 .login_conf > -rw------- 1 dnslog dnslog 371 Jun 1 2003 .mail_aliases > -rw-r--r-- 1 dnslog dnslog 331 Jun 1 2003 .mailrc > -rw-r--r-- 1 dnslog dnslog 801 Jun 1 2003 .profile > -rw------- 1 dnslog dnslog 276 Jun 1 2003 .rhosts > -rw-r--r-- 1 dnslog dnslog 852 Jun 1 2003 .shrc > > The name suggests that it shouldn't actually exist, presumably as a > security measure. > > Should I leave it as is, blow away the /nonexistent homedir, is it a > ports problem, or ??? /nonexistent is not supposed to exist. Perhaps you added the dnslog user using adduser(8) and so the home directory was created? Andrew From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 13:50:35 2004 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 C242016A4CE for ; Sun, 18 Jan 2004 13:50:35 -0800 (PST) Received: from hotmail.com (bay8-f50.bay8.hotmail.com [64.4.27.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0648443D39 for ; Sun, 18 Jan 2004 13:50:35 -0800 (PST) (envelope-from lee_ver_mx@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 18 Jan 2004 13:50:34 -0800 Received: from 200.78.18.69 by by8fd.bay8.hotmail.msn.com with HTTP; Sun, 18 Jan 2004 21:50:34 GMT X-Originating-IP: [200.78.18.69] X-Originating-Email: [lee_ver_mx@hotmail.com] X-Sender: lee_ver_mx@hotmail.com From: "Lee Mx" To: nkinkade@ub.edu.bz Date: Sun, 18 Jan 2004 13:50:34 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 18 Jan 2004 21:50:34.0820 (UTC) FILETIME=[19F91040:01C3DE0D] cc: freebsd-questions@freebsd.org Subject: Re: stumped... . 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, 18 Jan 2004 21:50:35 -0000 > >"How can I delete all lines from /^PATTERN to EOF??" I think that I read it wrong. Either way he has a solution ;-) > >Unless I'm reading it wrong, he wants to *keep* everything from the >beginning of the file to /^PATTERN/ and NOT keep everything else all the >way to EOF. The diff. between what I suggested and the what other >suggested is that using 'q' would be inclusive, while the others are >exclusive of the line matched by /^PATTERN/. However, it wasn't clear >which he wanted. > >Nathan >-- >gpg --keyserver pgp.mit.edu --recv-keys D8527E49 ><< attach3 >> _________________________________________________________________ Rethink your business approach for the new year with the helpful tips here. http://special.msn.com/bcentral/prep04.armx From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 13:57:18 2004 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 00CE116A4F6 for ; Sun, 18 Jan 2004 13:57:18 -0800 (PST) Received: from mail2.romero3000.com (ip-69-33-104-66.nyc.megapath.net [69.33.104.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7047B43D1F for ; Sun, 18 Jan 2004 13:57:16 -0800 (PST) (envelope-from jromero@romero3000.com) Received: from mail2.romero3000.com (localhost.romero3000.com [127.0.0.1]) by mail2.romero3000.com (Postfix) with SMTP id 22D6787F25 for ; Fri, 9 Jan 2004 17:00:36 -0500 (EST) Received: from 64.32.177.146 (SquirrelMail authenticated user jromero) by mail2.romero3000.com with HTTP; Fri, 9 Jan 2004 17:00:36 -0500 (EST) Message-ID: <29079.64.32.177.146.1073685636.squirrel@mail2.romero3000.com> Date: Fri, 9 Jan 2004 17:00:36 -0500 (EST) From: jromero@romero3000.com To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: poptop funny log messages 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, 18 Jan 2004 21:57:18 -0000 Running PopTop in test server and it seems to be working well, except the logs are replete with error messages like: ------------------------------------- Jan 18 14:19:34 host pptpd[72063]: CTRL: Ignored a SET LINK INFO packet with real ACCMs! Jan 18 14:19:34 host ppp[72064]: Warning: ff02:7::/32: Change route failed: errno: Network is unreachable Jan 18 14:20:17 host pptpd[72068]: GRE: Discarding duplicate packet Jan 18 14:20:19 host pptpd[72068]: CTRL: Ignored a SET LINK INFO packet with real ACCMs! Jan 18 14:20:19 host ppp[72069]: Warning: ff02:7::/32: Change route failed: errno: Network is unreachable Jan 18 14:20:19 host ppp[72069]: Warning: ff02:7::/32: Change route failed: errno: Network is unreachable Jan 18 14:23:48 host pptpd[72070]: GRE: Discarding duplicate packet ------------------------------------ here are my config files: bash-2.05b$ cat /etc/ppp/ppp.conf loop: set timeout 0 set log phase chat connect lcp ipcp command set device localhost:pptp set dial set login # Server (local) IP address, Range for Clients, and Netmask # if you want to use NAT use private IP addresses set ifaddr 192.168.1.8 192.168.1.130-192.168.1.160 255.255.255.0 # if you don't want to use NAT then use real IP addresses #set ifaddr 10.0.0.100 10.0.0.200-10.0.0.249 255.255.255.0 set server /tmp/loop "" 0177 loop-in: set timeout 0 set log phase lcp ipcp command allow mode direct pptp: load loop #enable chap disable pap # Authenticate against /etc/passwd enable passwdauth enable proxy accept dns enable MSChapV2 enable mppe disable deflate pred1 deny deflate pred1 # DNS Servers to assign client set dns 192.168.1.7 # NetBIOS/WINS Servers to assign client set nbns 192.168.1.7 set device !/etc/ppp/secure bash-2.05b$ cat /usr/local/etc/pptpd.conf option /etc/ppp/ppp.conf # turn debugging on only if you need it debug # if you have multiple addresses and only want to "listen" on one: # listen 10.0.0.100 # if you do not want to NAT your vpn connections then use real IP's #localip 10.0.0.100 #remoteip 10.0.0.200-249 # if you want to use NAT use private IP's localip 192.168.1.8 remoteip 192.168.1.130-160 pidfile /var/run/pptpd.pid +chapms-v2 mppe-40 mppe-128 mppe-stateless bash-2.05b$ cat /etc/ppp/secure #!/bin/sh exec /usr/sbin/ppp -direct loop-in has anyone encountered this before??? the pptp service is working fine but I would like to know if this is a serious problem. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 14:20:56 2004 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 3575616A4CE for ; Sun, 18 Jan 2004 14:20:56 -0800 (PST) Received: from www6.web2010.com (www6.web2010.com [216.157.5.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C03C43D1D for ; Sun, 18 Jan 2004 14:20:55 -0800 (PST) (envelope-from MLandman@face2interface.com) Received: from delliver.face2interface.com (dialup-wash-129-203.thebiz.net [64.30.129.203] (may be forged)) by www6.web2010.com (8.12.10/8.9.0) with ESMTP id i0IMKOYF004974; Sun, 18 Jan 2004 17:20:25 -0500 (EST) Message-Id: <6.0.0.22.0.20040118171947.2030a908@pop.face2interface.com> X-Sender: face@pop.face2interface.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sun, 18 Jan 2004 17:20:48 -0500 To: Ceri Davies From: Marty Landman In-Reply-To: <20040118214121.GF47004@submonkey.net> References: <6.0.0.22.0.20040118163155.214489e8@pop.face2interface.com> <20040118214121.GF47004@submonkey.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: phantom user 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, 18 Jan 2004 22:20:56 -0000 At 04:41 PM 1/18/2004, Ceri Davies wrote: > > #w > > 4:31PM up 28 days, 3:01, 2 users, load averages: 0.18, 0.06, 0.01 > > USER TTY FROM LOGIN@ IDLE WHAT > > marty p0 penguin 3:08PM - w > > marty p1 192:S.0 31Dec03 18days /bin/csh > >screen -ls Yep, thanks Ceri. Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 14:22:04 2004 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 E320416A4CE for ; Sun, 18 Jan 2004 14:22:04 -0800 (PST) Received: from mail2.ewetel.de (mail2-116.ewetel.de [212.6.122.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF5C043D1D for ; Sun, 18 Jan 2004 14:22:02 -0800 (PST) (envelope-from uwe@laverenz.de) Received: from athena.laverenz.de (dialin-80-228-12-100.ewetel.net [80.228.12.100]) by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id i0IMLlUa026663 for ; Sun, 18 Jan 2004 23:21:57 +0100 (MET) Received: from localhost (localhost.laverenz.de [127.0.0.1]) by athena.laverenz.de (Postfix) with ESMTP id 4D031586C8 for ; Sun, 18 Jan 2004 23:21:35 +0100 (CET) Received: from athena.laverenz.de ([127.0.0.1]) by localhost (athena.laverenz.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 68755-02 for ; Sun, 18 Jan 2004 23:21:34 +0100 (CET) Received: from laverenz.de (lotus.laverenz.de [192.168.100.6]) by athena.laverenz.de (Postfix) with ESMTP id F35C857869 for ; Sun, 18 Jan 2004 23:21:33 +0100 (CET) Message-ID: <400B06ED.50805@laverenz.de> Date: Sun, 18 Jan 2004 23:21:33 +0100 From: Uwe Laverenz Organization: private site User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040118 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at laverenz.de X-CheckCompat: OK Subject: Re: FreeBSD support 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, 18 Jan 2004 22:22:05 -0000 fbsd_user wrote: > This boot error message general means that your floppy drive is > broken. Not necessarily, this can also be a FreeBSD bug. I have several boards where this error occurs when ACPI is enabled. It's not a hardware problem. The floppy drives work with other systems, but not with FreeBSD+ACPI (4.9 - 5.1). cu, Uwe From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 14:58:49 2004 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 A7D3416A4CE for ; Sun, 18 Jan 2004 14:58:49 -0800 (PST) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B3FE43D2D for ; Sun, 18 Jan 2004 14:58:40 -0800 (PST) (envelope-from kline@thought.org) Received: from thought.org (root@tao [10.0.0.247]) by sage.thought.org (8.12.9/8.11.4) with ESMTP id i0IMwfGH050839 for ; Sun, 18 Jan 2004 14:58:42 -0800 (PST) (envelope-from kline@thought.org) Received: (from kline@localhost) by thought.org (8.12.6/8.11.3) id i0IMwbof041576; Sun, 18 Jan 2004 14:58:37 -0800 (PST) (envelope-from kline) Date: Sun, 18 Jan 2004 14:58:37 -0800 From: Gary Kline To: Gary Kline , FreeBSD Mailing List Message-ID: <20040118225836.GC41181@tao.thought.org> References: <20040118030911.GA18161@tao.thought.org> <20040118034842.GA80517@madras.dyndns.org> <20040118050645.GB68597@tao.thought.org> <20040118155423.GM5411@npkfbsd> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040118155423.GM5411@npkfbsd> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 17 years of service to the Unix community User-Agent: Mutt/1.5.5.1i Subject: Re: stumped... . 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, 18 Jan 2004 22:58:49 -0000 On Sun, Jan 18, 2004 at 09:54:23AM -0600, Nathan Kinkade wrote: > On Sat, Jan 17, 2004 at 09:06:45PM -0800, Gary Kline wrote: > > On Sun, Jan 18, 2004 at 02:48:42PM +1100, Gautam Gopalakrishnan wrote: > > > On Sat, Jan 17, 2004 at 07:09:12PM -0800, Gary Kline wrote: > > > > > > > > I've written scores of scripts to hack text files, but this > > > > one has me dead in the water. > > > > > > > > How can I delete all lines from /^PATTERN to EOF?? > > > > > > > > > > sed -e '/pattern/,$d' > > > > > > > Yep. Thisis what i used, in fact. thanks. > > > > gary > > Here is another option using sed that takes 2 less keystrokes :) > > $ sed -e '/pattern/q' > Impressive :-) gary -- Gary Kline kline@thought.org www.thought.org Public service Unix From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 15:47:06 2004 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 6F23416A4CE for ; Sun, 18 Jan 2004 15:47:06 -0800 (PST) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83A9743D31 for ; Sun, 18 Jan 2004 15:47:05 -0800 (PST) (envelope-from algould@datawok.com) Received: from 22-15.lctv-b4.cablelynx.com ([24.204.22.15] helo=yoda.datawok.com) by stork.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.33 #1) id 1AiMdD-0006vD-00 for freebsd-questions@freebsd.org; Sun, 18 Jan 2004 15:47:03 -0800 From: "Andrew L. Gould" To: freebsd-questions@freebsd.org Date: Sun, 18 Jan 2004 17:47:04 -0600 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181747.04419.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4ba47129c035f3a1bcb03ce1a1b140221a350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c Subject: ipfw rules for letting ssh requests in 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, 18 Jan 2004 23:47:06 -0000 I can't seem to get the ipfw rules right for letting ssh clients access a ssh server. I can use ssh on the server to connect to the client; but if I try to connect from the client to the server, the operation times out. I have my rules in /etc/ipfw.rules. Executing 'ipfw show' displays all of the rules as expected. It also shows packets having been allowed at rule 300 after an attempt to connect has been made. I have copied the top portion of /etc/ipfw.rules: #!/bin/sh # Andrew L. Gould's firewall rules. fwcmd="/sbin/ipfw -q" ${fwcmd} -f flush # Basic rules that should not be changed ${fwcmd} add 00100 pass all from any to any via lo0 ${fwcmd} add 00110 deny all from any to 127.0.0.0/8 ${fwcmd} add 00120 deny ip from 127.0.0.0/8 to any # Allow specified service requests in # ssh ${fwcmd} add 00300 allow tcp from any to me 22 ${fwcmd} add 00301 allow udp from any to me 22 ########################################## Does anyone have any idea why the operation is timing out or what I have done wrong? Thanks, Andrew Gould From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 15:53:20 2004 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 1D1D516A4CE for ; Sun, 18 Jan 2004 15:53:20 -0800 (PST) Received: from Vitsch.net (b74143.upc-b.chello.nl [212.83.74.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4057543D2D for ; Sun, 18 Jan 2004 15:53:17 -0800 (PST) (envelope-from Danovitsch@Vitsch.net) Received: from FreeBSD.Danovitsch.LAN (b83007.upc-b.chello.nl [212.83.83.7]) by Vitsch.net (8.12.3p2/8.11.3) with ESMTP id i0INqlXe074047; Mon, 19 Jan 2004 00:52:47 +0100 (CET) (envelope-from Danovitsch@Vitsch.net) Content-Type: text/plain; charset="iso-8859-1" From: "Daan Vreeken [PA4DAN]" To: "Andrew L. Gould" Date: Mon, 19 Jan 2004 00:53:38 +0100 User-Agent: KMail/1.4.3 References: <200401181747.04419.algould@datawok.com> In-Reply-To: <200401181747.04419.algould@datawok.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200401190053.38351.Danovitsch@Vitsch.net> cc: FreeBSD-questions@FreeBSD.org Subject: Re: ipfw rules for letting ssh requests in 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, 18 Jan 2004 23:53:20 -0000 On Monday 19 January 2004 00:47, Andrew L. Gould wrote: > I can't seem to get the ipfw rules right for letting ssh clients access= a > ssh server. I can use ssh on the server to connect to the client; but = if I > try to connect from the client to the server, the operation times out. > > I have my rules in /etc/ipfw.rules. Executing 'ipfw show' displays all= of > the rules as expected. It also shows packets having been allowed at ru= le > 300 after an attempt to connect has been made. > > I have copied the top portion of /etc/ipfw.rules: > > #!/bin/sh > > # Andrew L. Gould's firewall rules. > > fwcmd=3D"/sbin/ipfw -q" > ${fwcmd} -f flush > > > # Basic rules that should not be changed > ${fwcmd} add 00100 pass all from any to any via lo0 > ${fwcmd} add 00110 deny all from any to 127.0.0.0/8 > ${fwcmd} add 00120 deny ip from 127.0.0.0/8 to any > > > # Allow specified service requests in > # ssh > ${fwcmd} add 00300 allow tcp from any to me 22 > ${fwcmd} add 00301 allow udp from any to me 22 > > Does anyone have any idea why the operation is timing out or what I hav= e > done wrong? You forgot the packets in the other direction... This should do the trick= : ${fwcmd} add 00300 allow tcp from any to me 22 ${fwcmd} add 00301 allow tcp from me 22 to any grtz, Daan From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 15:55:46 2004 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 F1BD416A4CE for ; Sun, 18 Jan 2004 15:55:46 -0800 (PST) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5F6143D3F for ; Sun, 18 Jan 2004 15:55:45 -0800 (PST) (envelope-from kline@thought.org) Received: from thought.org (root@tao [10.0.0.247]) by sage.thought.org (8.12.9/8.11.4) with ESMTP id i0INtkGH050926 for ; Sun, 18 Jan 2004 15:55:48 -0800 (PST) (envelope-from kline@thought.org) Received: (from kline@localhost) by thought.org (8.12.6/8.11.3) id i0INtgYD047326 for freebsd-questions@FreeBSD.ORG; Sun, 18 Jan 2004 15:55:42 -0800 (PST) (envelope-from kline) Date: Sun, 18 Jan 2004 15:55:42 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20040118235542.GA41663@tao.thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 17 years of service to the Unix community User-Agent: Mutt/1.5.5.1i Subject: OT: Another perl question 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, 18 Jan 2004 23:55:47 -0000 Is there an easy way of determining "file - determine file type" in perl? at least as certain as magic(5) can ascertain? E.g: if (($ftype = file ($ARV[i])) eq "script){ ## do abc; } else if ($ftype eq "Mail"){ ## do def; } else if ($type eq "C program"){ ## do xyz; } . . . I've been poking around perl tutorial sites; so far, nada. Thought I'd ask the wizards. thanks for any clues, gary -- Gary Kline kline@thought.org www.thought.org Public service Unix From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 16:30:22 2004 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 E6A9B16A4CE for ; Sun, 18 Jan 2004 16:30:22 -0800 (PST) Received: from catseye.mine.nu (d207-81-17-215.bchsia.telus.net [207.81.17.215]) by mx1.FreeBSD.org (Postfix) with SMTP id D3E5943D1D for ; Sun, 18 Jan 2004 16:30:21 -0800 (PST) (envelope-from catseye@catseye.mine.nu) Received: (qmail 36006 invoked by uid 1001); 19 Jan 2004 00:34:25 -0000 Date: Sun, 18 Jan 2004 16:34:25 -0800 From: Chris Pressey To: Gary Kline Message-Id: <20040118163425.6214fb37.cpressey@catseye.mine.nu> In-Reply-To: <20040118235542.GA41663@tao.thought.org> References: <20040118235542.GA41663@tao.thought.org> Organization: Cat's Eye Technologies X-Mailer: Sylpheed version 0.9.8a (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@FreeBSD.ORG Subject: Re: OT: Another perl question 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: Mon, 19 Jan 2004 00:30:23 -0000 On Sun, 18 Jan 2004 15:55:42 -0800 Gary Kline wrote: > > Is there an easy way of determining "file - determine file type" > in perl? at least as certain as magic(5) can ascertain? > > E.g: > > if (($ftype = file ($ARV[i])) eq "script){ > ## do abc; > } > else if ($ftype eq "Mail"){ > ## do def; > } > else if ($type eq "C program"){ > ## do xyz; > } > . > . > . > > I've been poking around perl tutorial sites; so far, nada. > Thought I'd ask the wizards. > > thanks for any clues, > > gary How about /usr/ports/devel/p5-File-MMagic ? "This module is to guess file type from its contents like file(1) command." -Chris From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 16:59:35 2004 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 E489F16A4CE for ; Sun, 18 Jan 2004 16:59:34 -0800 (PST) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id D46EC43D39 for ; Sun, 18 Jan 2004 16:59:32 -0800 (PST) (envelope-from algould@datawok.com) Received: from 22-15.lctv-b4.cablelynx.com ([24.204.22.15] helo=yoda.datawok.com) by stork.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.33 #1) id 1AiNlK-0002L0-00; Sun, 18 Jan 2004 16:59:30 -0800 From: "Andrew L. Gould" To: "Daan Vreeken [PA4DAN]" Date: Sun, 18 Jan 2004 18:59:36 -0600 User-Agent: KMail/1.5.4 References: <200401181747.04419.algould@datawok.com> <200401190053.38351.Danovitsch@Vitsch.net> In-Reply-To: <200401190053.38351.Danovitsch@Vitsch.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181859.36074.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4baef4dae8a0564d019ce4baffac0d049a350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: FreeBSD-questions@FreeBSD.org Subject: Re: ipfw rules for letting ssh requests in 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: Mon, 19 Jan 2004 00:59:35 -0000 On Sunday 18 January 2004 05:53 pm, Daan Vreeken [PA4DAN] wrote: > On Monday 19 January 2004 00:47, Andrew L. Gould wrote: > > I can't seem to get the ipfw rules right for letting ssh clients access a > > ssh server. I can use ssh on the server to connect to the client; but if > > I try to connect from the client to the server, the operation times out. > > > > I have my rules in /etc/ipfw.rules. Executing 'ipfw show' displays all > > of the rules as expected. It also shows packets having been allowed at > > rule 300 after an attempt to connect has been made. > > > > I have copied the top portion of /etc/ipfw.rules: > > > > #!/bin/sh > > > > # Andrew L. Gould's firewall rules. > > > > fwcmd="/sbin/ipfw -q" > > ${fwcmd} -f flush > > > > > > # Basic rules that should not be changed > > ${fwcmd} add 00100 pass all from any to any via lo0 > > ${fwcmd} add 00110 deny all from any to 127.0.0.0/8 > > ${fwcmd} add 00120 deny ip from 127.0.0.0/8 to any > > > > > > # Allow specified service requests in > > # ssh > > ${fwcmd} add 00300 allow tcp from any to me 22 > > ${fwcmd} add 00301 allow udp from any to me 22 > > > > Does anyone have any idea why the operation is timing out or what I have > > done wrong? > > You forgot the packets in the other direction... This should do the trick : > > ${fwcmd} add 00300 allow tcp from any to me 22 > ${fwcmd} add 00301 allow tcp from me 22 to any > > grtz, > Daan I have the firewall configured to let anything out. As noted above, I was able to connect from the server to the client using ssh. Here's the entirety of /etc/ipfw.rules: #!/bin/sh # Andrew L. Gould's firewall rules. fwcmd="/sbin/ipfw -q" ${fwcmd} -f flush ${fwcmd} add 00100 pass all from any to any via lo0 ${fwcmd} add 00110 deny all from any to 127.0.0.0/8 ${fwcmd} add 00120 deny ip from 127.0.0.0/8 to any # Allow specified service requests in # ssh ${fwcmd} add 00300 allow tcp from any to me 22 ${fwcmd} add 00301 allow udp from any to me 22 # irc ${fwcmd} add 00302 allow tcp from any to me 194 ${fwcmd} add 00303 allow udp from any to me 194 # auth (ident) ${fwcmd} add 00304 allow tcp from any to me 113 ${fwcmd} add 00305 allow udp from any to me 113 # ircd ${fwcmd} add 00310 allow tcp from any to me 6667 # Allow TCP connections that were initiated locally ${fwcmd} add 00400 check-state ${fwcmd} add 00402 allow tcp from any to any out setup keep-state # Allow DNS and DHCP activities ${fwcmd} add 00500 allow udp from any 53 to any in recv dc0 ${fwcmd} add 00501 allow udp from any 67 to any 68 in recv dc0 ${fwcmd} add 00502 allow udp from any to any out # Allow ICMP activities ${fwcmd} add 00600 allow icmp from any to any icmptype 0 ${fwcmd} add 00601 allow icmp from any to any icmptype 3 ${fwcmd} add 00602 allow icmp from any to any icmptype 4 ${fwcmd} add 00603 allow icmp from any to any icmptype 8 ${fwcmd} add 00604 allow icmp from any to any icmptype 11 in ${fwcmd} add 00901 deny tcp from any to any in established ${fwcmd} add 65535 deny all from any to any ############################################# Thanks, Andrew Gould From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 17:01:32 2004 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 2CAB716A4CE for ; Sun, 18 Jan 2004 17:01:32 -0800 (PST) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 715C843D39 for ; Sun, 18 Jan 2004 17:01:31 -0800 (PST) (envelope-from algould@datawok.com) Received: from 22-15.lctv-b4.cablelynx.com ([24.204.22.15] helo=yoda.datawok.com) by heron.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.33 #1) id 1AiNnH-0004uy-00 for freebsd-questions@freebsd.org; Sun, 18 Jan 2004 17:01:31 -0800 From: "Andrew L. Gould" To: freebsd-questions@freebsd.org Date: Sun, 18 Jan 2004 19:01:37 -0600 User-Agent: KMail/1.5.4 References: <200401181747.04419.algould@datawok.com> In-Reply-To: <200401181747.04419.algould@datawok.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181901.37924.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4bdd7638ef536075fe3d6ab95fa51590b5350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c Subject: Re: ipfw rules for letting ssh requests in 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: Mon, 19 Jan 2004 01:01:32 -0000 Does portmap have to be enabled to connect to sshd? Thanks, Andrew Gould From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 17:01:38 2004 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 07C0D16A4CE for ; Sun, 18 Jan 2004 17:01:38 -0800 (PST) Received: from m01.ca.astound.net (m01.ca.astound.net [64.85.239.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACBDD43D1D for ; Sun, 18 Jan 2004 17:01:36 -0800 (PST) (envelope-from rchopra@cal.berkeley.edu) Received: from cal.berkeley.edu (astound-64-85-244-72.ca.astound.net [64.85.244.72]) by m01.ca.astound.net (8.12.10/8.12.10) with ESMTP id i0J10tjo005548 for ; Sun, 18 Jan 2004 17:00:55 -0800 Message-ID: <400B2C25.8030103@cal.berkeley.edu> Date: Sun, 18 Jan 2004 17:00:21 -0800 From: Rishi Chopra User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Subject: rc.firewall 'simple' question 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: Mon, 19 Jan 2004 01:01:38 -0000 Forgive the stupid question, but why are the 'rfc1918' and 'draft manning' sections repeated in the default rc.firewall file? Does this have something to do with the natd statement in between them? I understand the rules are processed (added) sequentially, so am I missing something? # Stop RFC1918 nets on the outside interface ${fwcmd} add deny all from any to 10.0.0.0/8 via ${oif} ${fwcmd} add deny all from any to 172.16.0.0/12 via ${oif} ${fwcmd} add deny all from any to 192.168.0.0/16 via ${oif} # Stop draft-manning-dsua-03.txt (1 May 2000) nets (includes RESERVED-1, # DHCP auto-configuration, NET-TEST, MULTICAST (class D), and class E) # on the outside interface ${fwcmd} add deny all from any to 0.0.0.0/8 via ${oif} ${fwcmd} add deny all from any to 169.254.0.0/16 via ${oif} ${fwcmd} add deny all from any to 192.0.2.0/24 via ${oif} ${fwcmd} add deny all from any to 224.0.0.0/4 via ${oif} ${fwcmd} add deny all from any to 240.0.0.0/4 via ${oif} # Network Address Translation. This rule is placed here deliberately # so that it does not interfere with the surrounding address-checking # rules. If for example one of your internal LAN machines had its IP # address set to 192.0.2.1 then an incoming packet for it after being # translated by natd(8) would match the `deny' rule above. Similarly # an outgoing packet originated from it before being translated would # match the `deny' rule below. case ${natd_enable} in [Yy][Ee][Ss]) if [ -n "${natd_interface}" ]; then ${fwcmd} add divert natd all from any to any via ${natd_interface} fi ;; esac # Stop RFC1918 nets on the outside interface ${fwcmd} add deny all from 10.0.0.0/8 to any via ${oif} ${fwcmd} add deny all from 172.16.0.0/12 to any via ${oif} ${fwcmd} add deny all from 192.168.0.0/16 to any via ${oif} # Stop draft-manning-dsua-03.txt (1 May 2000) nets (includes RESERVED-1, # DHCP auto-configuration, NET-TEST, MULTICAST (class D), and class E) # on the outside interface ${fwcmd} add deny all from 0.0.0.0/8 to any via ${oif} ${fwcmd} add deny all from 169.254.0.0/16 to any via ${oif} ${fwcmd} add deny all from 192.0.2.0/24 to any via ${oif} ${fwcmd} add deny all from 224.0.0.0/4 to any via ${oif} ${fwcmd} add deny all from 240.0.0.0/4 to any via ${oif} -- Rishi Chopra http://www.ocf.berkeley.edu/~rchopra From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 17:15:41 2004 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 1A3CE16A4CE for ; Sun, 18 Jan 2004 17:15:41 -0800 (PST) Received: from 82-41-27-158.cable.ubr04.edin.blueyonder.co.uk (82-41-27-158.cable.ubr04.edin.blueyonder.co.uk [82.41.27.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16FB343D41 for ; Sun, 18 Jan 2004 17:15:40 -0800 (PST) (envelope-from andrew@cream.org) Received: from cream.org (spatula.flat [192.168.0.2]) by myriad.flat (Postfix) with ESMTP id A4FC1DD; Mon, 19 Jan 2004 00:08:29 +0000 (GMT) Message-ID: <400B2FC2.3060303@cream.org> Date: Mon, 19 Jan 2004 01:15:46 +0000 From: Andrew Boothman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andrew L. Gould" References: <200401181747.04419.algould@datawok.com> <200401181901.37924.algould@datawok.com> In-Reply-To: <200401181901.37924.algould@datawok.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: ipfw rules for letting ssh requests in 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: Mon, 19 Jan 2004 01:15:41 -0000 Andrew L. Gould wrote: > Does portmap have to be enabled to connect to sshd? No From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 17:22:10 2004 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 2537C16A4CE for ; Sun, 18 Jan 2004 17:22:10 -0800 (PST) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1D1B43D31 for ; Sun, 18 Jan 2004 17:22:06 -0800 (PST) (envelope-from algould@datawok.com) Received: from 22-15.lctv-b4.cablelynx.com ([24.204.22.15] helo=yoda.datawok.com) by stork.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.33 #1) id 1AiO7A-0000w8-00; Sun, 18 Jan 2004 17:22:04 -0800 From: "Andrew L. Gould" To: "Daan Vreeken [PA4DAN]" Date: Sun, 18 Jan 2004 19:22:10 -0600 User-Agent: KMail/1.5.4 References: <200401181747.04419.algould@datawok.com> <200401190053.38351.Danovitsch@Vitsch.net> In-Reply-To: <200401190053.38351.Danovitsch@Vitsch.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181922.10968.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4bce0643362d1528e4f18fc6e716c96927350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: FreeBSD-questions@FreeBSD.org Subject: Re: ipfw rules for letting ssh requests in 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: Mon, 19 Jan 2004 01:22:10 -0000 On Sunday 18 January 2004 05:53 pm, Daan Vreeken [PA4DAN] wrote: > > You forgot the packets in the other direction... This should do the trick : > > ${fwcmd} add 00300 allow tcp from any to me 22 > ${fwcmd} add 00301 allow tcp from me 22 to any > > grtz, > Daan It worked. Thanks, Andrew Gould From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 18:08:15 2004 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 2A93016A4CE for ; Sun, 18 Jan 2004 18:08:15 -0800 (PST) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CCF343D3F for ; Sun, 18 Jan 2004 18:08:14 -0800 (PST) (envelope-from algould@datawok.com) Received: from 22-15.lctv-b4.cablelynx.com ([24.204.22.15] helo=yoda.datawok.com) by stork.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.33 #1) id 1AiOpp-0005KB-00 for FreeBSD-questions@FreeBSD.org; Sun, 18 Jan 2004 18:08:13 -0800 From: "Andrew L. Gould" To: FreeBSD-questions@FreeBSD.org Date: Sun, 18 Jan 2004 20:08:20 -0600 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401182008.20927.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4bafd09e811f390133700b542b4ead8f1b350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c Subject: ircd recommendations? 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: Mon, 19 Jan 2004 02:08:15 -0000 I'd like to experiment with an irc server. The irc server will not be configured to connect to other irc servers. (In fact, I'd like to make it local to the server and have the small number of users use ssh and a local connection.) The port for ircd-hybrid is marked as broken. Does anyone have any recommendations regarding other irc servers? Andrew Gould From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 19:38:42 2004 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 9914716A4CE for ; Sun, 18 Jan 2004 19:38:42 -0800 (PST) Received: from ns.museum.rain.com (gw-ipinc.museum.rain.com [206.29.169.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C74143D1D for ; Sun, 18 Jan 2004 19:38:38 -0800 (PST) (envelope-from james_mapson@umpquanet.com) Received: from ns.museum.rain.com (localhost [127.0.0.1]) by ns.museum.rain.com (8.12.10/8.12.10) with ESMTP id i0J3cXFo023146; Sun, 18 Jan 2004 19:38:37 -0800 (PST) (envelope-from james@umpquanet.com) Received: (from james@localhost) by ns.museum.rain.com (8.12.10/8.12.10/Submit) id i0J3cTG6023145; Sun, 18 Jan 2004 19:38:29 -0800 (PST) (envelope-from james) Date: Sun, 18 Jan 2004 19:38:29 -0800 From: James Long To: Rickard Dahlstrand Message-ID: <20040119033829.GA23114@ns.museum.rain.com> References: <007701c3ddaf$8c58f000$8b01010a@nyalaptopen> <400A7352.7020101@romat.com> <002501c3ddc1$47ca4210$8b01010a@nyalaptopen> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002501c3ddc1$47ca4210$8b01010a@nyalaptopen> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ns.museum.rain.com cc: Gilad Rom cc: freebsd-questions@freebsd.org Subject: Re: Cutting the power without unmounting the filesystem 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: Mon, 19 Jan 2004 03:38:42 -0000 On Sun, Jan 18, 2004 at 01:47:48PM +0100, Rickard Dahlstrand wrote: > > I was hoping on a solution that can work on 4.9. How about a hardware solution, i.e. a UPS? From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 19:48:59 2004 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 835DF16A4CE for ; Sun, 18 Jan 2004 19:48:59 -0800 (PST) Received: from freep.dyns.net (adsl-63-195-184-80.dsl.snfc21.pacbell.net [63.195.184.80]) by mx1.FreeBSD.org (Postfix) with SMTP id C7B8543D48 for ; Sun, 18 Jan 2004 19:48:57 -0800 (PST) (envelope-from micheas@micheas.dyns.net) Received: (qmail 72776 invoked from network); 19 Jan 2004 03:48:57 -0000 Received: from tux.a (HELO tux) (mail@10.0.0.173) by sol.a with SMTP; 19 Jan 2004 03:48:57 -0000 Received: from micheas by tux with local (Exim 3.36 #1 (Debian)) id 1AiQPJ-0005ke-00; Sun, 18 Jan 2004 19:48:57 -0800 From: Micheas Herman To: James Long In-Reply-To: <20040119033829.GA23114@ns.museum.rain.com> References: <007701c3ddaf$8c58f000$8b01010a@nyalaptopen> <002501c3ddc1$47ca4210$8b01010a@nyalaptopen> <20040119033829.GA23114@ns.museum.rain.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Free Print Shop Message-Id: <1074484137.21654.7.camel@tux> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 18 Jan 2004 19:48:57 -0800 Sender: Micheas Herman cc: Rickard Dahlstrand cc: Gilad Rom cc: freebsd-questions@freebsd.org Subject: Re: Cutting the power without unmounting the filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: micheas@freep.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 03:48:59 -0000 On Sun, 2004-01-18 at 19:38, James Long wrote: > On Sun, Jan 18, 2004 at 01:47:48PM +0100, Rickard Dahlstrand wrote: > > > > I was hoping on a solution that can work on 4.9. > > How about a hardware solution, i.e. a UPS? Other possible solutions: Use flash ram cards and a journaling file system. (soft updates may work but you need to talk to someone that knows about them much better than I do.) Use a live cd for everything read only, and use a remote machine for everything that needs write access. Hard disks really need to be powered down instead of having their power yanked. you are asking for a hard crash if you pull power from a drive that is actively reading or writing. Having this as regular part of the drives duty is asking for trouble. > _______________________________________________ > 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" -- Write in TERRY BAUM for Congress on March 2, 2004 http://www.terrybaum.com/ From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 19:49:14 2004 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 BA0F916A4DD for ; Sun, 18 Jan 2004 19:49:14 -0800 (PST) Received: from radicalv.com (secure.radicalv.com [216.118.91.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AC4143D5D for ; Sun, 18 Jan 2004 19:49:13 -0800 (PST) (envelope-from ecrist@adtechintegrated.com) Received: (qmail 85777 invoked from network); 19 Jan 2004 03:49:03 -0000 Received: from unknown (HELO 192.168.1.100) (66.41.18.160) by mail.radicalv.com with SMTP; 19 Jan 2004 03:49:03 -0000 From: Eric F Crist Organization: AdTech Integrated Systems, Inc To: "Andrew L. Gould" , FreeBSD-questions@FreeBSD.org Date: Sun, 18 Jan 2004 21:48:56 -0600 User-Agent: KMail/1.5 References: <200401182008.20927.algould@datawok.com> In-Reply-To: <200401182008.20927.algould@datawok.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_vO1CA7Uf6+YR594"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200401182149.03682.ecrist@adtechintegrated.com> Subject: Re: ircd recommendations? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ecrist@adtechintegrated.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 03:49:14 -0000 --Boundary-02=_vO1CA7Uf6+YR594 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Sunday 18 January 2004 08:08 pm, Andrew L. Gould wrote: > The port for ircd-hybrid is marked as broken. Does anyone have any > recommendations regarding other irc servers? I have a server running Unreal 3.2 IRCd. You can download it at www.xnet.o= rg=20 and find the link for software and downloads. They also have sources for=20 services. Unreal3.2 supports SSL, too. So it's a tiny bit more secure. HTH =2D-=20 Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 --Boundary-02=_vO1CA7Uf6+YR594 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAC1OvzdyDbTMRQIYRAjkIAKCKtr4EicTe1QMd1xOBmqwGcRyd8gCgmqth rRLqd/mxJwM9zbQqXDwtfcU= =xLaU -----END PGP SIGNATURE----- --Boundary-02=_vO1CA7Uf6+YR594-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 19:49:23 2004 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 5652516A4CE for ; Sun, 18 Jan 2004 19:49:23 -0800 (PST) Received: from mail17.messagelabs.com (mail17.messagelabs.com [62.231.131.67]) by mx1.FreeBSD.org (Postfix) with SMTP id D23D643D49 for ; Sun, 18 Jan 2004 19:49:19 -0800 (PST) (envelope-from alert@notification.star.net.uk) X-VirusChecked: Checked X-Env-Sender: alert@notification.star.net.uk X-StarScan-Version: 5.1.15; banners=star.net.uk,-,- Received: (qmail 32410 invoked by uid 0); 19 Jan 2004 03:49:17 -0000 Date: 19 Jan 2004 03:49:17 -0000 Message-ID: <20040119034917.32409.qmail@server-27.tower-17.messagelabs.com> To: questions@freebsd.org X-Mailer: StarScan From: alert@notification.star.net.uk Subject: WARNING. You tried to send a potential virus or unauthorised code X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: alert@notification.star.net.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 03:49:23 -0000 The Star Internet anti-virus service, powered by MessageLabs, discovered a possible virus or unauthorised code (such as a joke program or trojan) in an email sent by you. This email has now been quarantined and was not delivered. Please read this whole email carefully. It explains what has happened to your email, which suspected virus has been caught, and what to do if you need help. To help identify the email: The message sender was questions@freebsd.org The message was titled 'Hi' The message date was Mon, 19 Jan 2004 12:49:08 +0900 The message recipients were id@fasl.co.uk The virus or unauthorised code identified in the email is: /var/qmail/queue/split/0/attach/178861_2X_PM3_EMS_MA-X=2DMSDOWNLOAD__lmlsk.exe Found the W32/Bagle@MM virus !!! Some viruses forge the sender address. The message was diverted into the virus holding pen on mail server server-27.tower-17.messagelabs.com (id 178861_1074484157) and will be held for 30 days before being destroyed. For more information please visit http://www.star.net.uk/Support/Faq/FAQ.asp If you sent the email from a corporate network, please contact your IT Helpdesk or Support Department for assistance. They will be able to help you disinfect your workstation. If you would like further information on how to subscribe to the Star Internet anti-virus service, a proactive anti-virus service working around the clock, around the globe, please complete our enquiry form Star Internet is a business to business service provider. If you are a home user you should contact your anti-virus software vendor or obtain help from http://www.star.net.uk/Support/Faq/FAQ.asp This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk _____________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 19:54:12 2004 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 A757616A4CE for ; Sun, 18 Jan 2004 19:54:12 -0800 (PST) Received: from ms-smtp-02-eri0.ohiordc.rr.com (ms-smtp-02-smtplb.ohiordc.rr.com [65.24.5.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B45F43D2D for ; Sun, 18 Jan 2004 19:54:11 -0800 (PST) (envelope-from dmehler26@woh.rr.com) Received: from satellite (dhcp065-031-041-029.woh.rr.com [65.31.41.29]) i0J3s8aZ009606 for ; Sun, 18 Jan 2004 22:54:09 -0500 (EST) Message-ID: <000b01c3de3f$92de6460$0200a8c0@satellite> From: "dave" To: Date: Sun, 18 Jan 2004 22:51:51 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Filesys::Df perl module in 5.1 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: Mon, 19 Jan 2004 03:54:12 -0000 Hello, I'm trying to get the perl Filesys::Df module to build under 5.1, so far it fails during the testing phase and therefor will not make. This is right off of cpan, does anyone have a fix for this? Thanks. Dave. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 20:04:29 2004 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 46C6B16A4CE for ; Sun, 18 Jan 2004 20:04:29 -0800 (PST) Received: from fep03-mail.bloor.is.net.cable.rogers.com (fep03-mail.bloor.is.net.cable.rogers.com [66.185.86.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 028D143D6A for ; Sun, 18 Jan 2004 20:04:18 -0800 (PST) (envelope-from p2sam@yahoo.com) Received: from p2sam-pc.rogers.com ([67.61.47.158]) by fep03-mail.bloor.is.net.cable.rogers.comESMTP <20040119040314.QYNG337742.fep03-mail.bloor.is.net.cable.rogers.com@p2sam-pc.rogers.com> for ; Sun, 18 Jan 2004 23:03:14 -0500 Received: from p2sam-pc.rogers.com (localhost [127.0.0.1]) by p2sam-pc.rogers.com (8.12.10/8.12.10) with ESMTP id i0J446wR008876 for ; Sun, 18 Jan 2004 23:04:08 -0500 Received: from localhost (localhost [[UNIX: localhost]]) by p2sam-pc.rogers.com (8.12.10/8.12.10/Submit) id i0J4463l008875 for freebsd-questions@freebsd.org; Sun, 18 Jan 2004 23:04:06 -0500 From: Pedro Sam To: freebsd-questions@freebsd.org Date: Sun, 18 Jan 2004 23:04:04 -0500 User-Agent: KMail/1.5.94 References: <007701c3ddaf$8c58f000$8b01010a@nyalaptopen> <20040119033829.GA23114@ns.museum.rain.com> <1074484137.21654.7.camel@tux> In-Reply-To: <1074484137.21654.7.camel@tux> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200401182304.05574.p2sam@yahoo.com> X-Authentication-Info: Submitted using SMTP AUTH PLAIN at fep03-mail.bloor.is.net.cable.rogers.com from [67.61.47.158] using ID at Sun, 18 Jan 2004 23:03:12 -0500 Subject: [was: Cutting the power ... ] Journaling file system 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: Mon, 19 Jan 2004 04:04:29 -0000 On January 18, 2004 10:48 pm, Micheas Herman wrote: > Use flash ram cards and a journaling file system. (soft updates may work > but you need to talk to someone that knows about them much better than I > do.) I've googled around a bit, but was unable to find a journaling file system for FreeBSD. Specifically, does ReiserFS work in FreeBSD? Thanks, Pedro -- Kansas state law requires pedestrians crossing the highways at night to wear tail lights. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 20:05:34 2004 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 18AB116A4CE for ; Sun, 18 Jan 2004 20:05:34 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C2A443D41 for ; Sun, 18 Jan 2004 20:05:32 -0800 (PST) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 51A6813635; Mon, 19 Jan 2004 17:05:30 +1300 (NZDT) Date: Mon, 19 Jan 2004 17:05:30 +1300 From: Jonathan Chen To: Pedro Sam Message-ID: <20040119040530.GA25359@grimoire.chen.org.nz> References: <007701c3ddaf$8c58f000$8b01010a@nyalaptopen> <20040119033829.GA23114@ns.museum.rain.com> <1074484137.21654.7.camel@tux> <200401182304.05574.p2sam@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200401182304.05574.p2sam@yahoo.com> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: [was: Cutting the power ... ] Journaling file system 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: Mon, 19 Jan 2004 04:05:34 -0000 On Sun, Jan 18, 2004 at 11:04:04PM -0500, Pedro Sam wrote: > On January 18, 2004 10:48 pm, Micheas Herman wrote: > > Use flash ram cards and a journaling file system. (soft updates may work > > but you need to talk to someone that knows about them much better than I > > do.) > > I've googled around a bit, but was unable to find a journaling file system for > FreeBSD. Specifically, does ReiserFS work in FreeBSD? No. -- Jonathan Chen ---------------------------------------------------------------------- "Lots of folks confuse bad management with destiny" - Kin Hubbard From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 20:08:54 2004 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 0142F16A4CE for ; Sun, 18 Jan 2004 20:08:54 -0800 (PST) Received: from hotmail.com (law11-f123.law11.hotmail.com [64.4.17.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B6DD43D3F for ; Sun, 18 Jan 2004 20:08:51 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 18 Jan 2004 20:08:51 -0800 Received: from 211.98.123.1 by lw11fd.law11.hotmail.msn.com with HTTP; Mon, 19 Jan 2004 04:08:50 GMT X-Originating-IP: [211.98.123.1] X-Originating-Email: [weiwuzhang@hotmail.com] X-Sender: weiwuzhang@hotmail.com From: "Zhang Weiwu" To: questions@freebsd.org Date: Mon, 19 Jan 2004 12:08:50 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 19 Jan 2004 04:08:51.0291 (UTC) FILETIME=[F21FB2B0:01C3DE41] Subject: why all my devices on my Thinkpad wish to use IRQ 11? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: zhangweiwu@realss.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 04:08:54 -0000 Hello. I recently brought a new Thinkpad T40 notebook and installed FreeBSD 5.2 RELEASE on it. Now on this notebook it seems every device is trying to use irq 11, making every drive timeout. The irq 11 devices are: #dmesg | grep "irq 11" pcib0: slot 29 INTB is routed to irq 11 pcib0: slot 29 INTC is routed to irq 11 pcib0: slot 29 INTD is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib1: slot 0 INTA is routed to irq 11 uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 uhci2: port 0x1840-0x185f irq 11 at device 29.2 on pci0 pcib2: slot 0 INTA is routed to irq 11 pcib2: slot 0 INTB is routed to irq 11 pcib2: slot 2 INTA is routed to irq 11 pcib2: slot 8 INTA is routed to irq 11 cbb0: mem 0xb0000000-0xb0000fff irq 11 at device 0.0 on pci2 cbb1: mem 0xb1000000-0xb1000fff irq 11 at device 0.1 on pci2 fxp0: port 0x8000-0x803f mem 0xc0201000-0xc0201fff irq 11 at device 8.0 on pci2 pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xc0000800-0xc00008ff,0xc0000c00-0xc0000dff irq 11 at device 31.5 on pci0 pcib0: slot 29 INTA is routed to irq 11 I tried to modify /boot/device.hints to assign different irqs for different devices, no luck. The devices seems to be ignoring variables like hints.pcm.0.irq. In order to use fxp0, I now disabled all devices who use irq 11 before fxp0. Please someone give me some hints. Thank you. Here is my dmesg (with most irq 11 devices disabled to make fxp0 work). Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2-RELEASE #0: Sun Jan 18 10:14:37 CST 2004 root@:/usr/obj/usr/src/sys/T40 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0838000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc083826c. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1500MHz (1495.16-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x695 Stepping = 5 Features=0xa7e9f9bf real memory = 267780096 (255 MB) avail memory = 250474496 (238 MB) Pentium Pro MTRR support enabled VESA: v2.0, 32704k memory, flags:0x1, mode table:0xc0751942 (1000022) VESA: ATI MOBILITY RADEON 7500 npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi_ec0: port 0x66,0x62 on acpi0 pcibios: BIOS version 2.10 Using $PIR table, 15 entries at 0xc00fdea0 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: port 0x530-0x537 on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 29 INTA is routed to irq 11 pcib0: slot 29 INTB is routed to irq 11 pcib0: slot 29 INTC is routed to irq 11 pcib0: slot 29 INTD is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 agp0: mem 0xd0000000-0xdfffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib1: slot 0 INTA is routed to irq 11 pci1: at device 0.0 (no driver attached) pci0: at device 29.0 (no driver attached) pci0: at device 29.1 (no driver attached) pci0: at device 29.2 (no driver attached) pci0: at device 29.7 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 pcib2: slot 0 INTA is routed to irq 11 pcib2: slot 0 INTB is routed to irq 11 pcib2: slot 2 INTA is routed to irq 11 pcib2: slot 8 INTA is routed to irq 11 pci2: at device 0.0 (no driver attached) pci2: at device 0.1 (no driver attached) pci2: at device 2.0 (no driver attached) fxp0: port 0x8000-0x803f mem 0xc0201000-0xc0201fff irq 11 at device 8.0 on pci2 fxp0: Ethernet address 00:0d:60:12:c3:61 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1860-0x186f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 31.3 (no driver attached) pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xc0000800-0xc00008ff,0xc0000c00-0xc0000dff irq 11 at device 31.5 on pci0 pcm0: pci0: at device 31.6 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 8250 or not responding ppc0 port 0x3bc-0x3c3 irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled orm0: