From owner-freebsd-questions@FreeBSD.ORG Fri Dec 16 17:30:48 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 8FA6C16A420 for ; Fri, 16 Dec 2005 17:30:48 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6543A43D49 for ; Fri, 16 Dec 2005 17:30:46 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.60 #0 (FreeBSD 4.11-STABLE)) id 1EnIRx-000BDB-PH by authid ; Fri, 16 Dec 2005 19:28:53 +0300 Date: Fri, 16 Dec 2005 19:28:53 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Message-ID: <20051216162853.GB33413@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org, manish jain References: <20051216152303.46157.qmail@web34006.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051216152303.46157.qmail@web34006.mail.mud.yahoo.com> X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.11 (2005-09-15) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.11 Cc: manish jain Subject: Re: Newbie problems with svscan and arp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2005 17:30:48 -0000 * On 16/12/05 07:23 -0800, manish jain wrote: > Hi, > > I am trying my hand at FreeBSD administration and would greatly appreciate > assistance with some problems I am facing with setting up mail > services and the network properly. > > My system has 2 network cards (rl0 and dc0). rl0 has been assigned a local > IP (192.168.10.37/255.255.255.0) and dc0 has been assigned a real IP > (202.54.195.85/255.255.255.240). The gateway is 202.54.195.81 and the > name server 202.54.1.30. After booting my console starts getting the > following message : "192.168.10.1 is on rl0 but got reply from > dc0". What is the error I might be committing ? The local router is > located at 192.168.10.55, but I don't know where to put this > information. Despite the message, I am able to access the internet > smoothly. The cables connecting to dc0 and rl0 are both connected to the same switch/hub, yes? Why? I think you have a connection to the Internet also connected to the switch, yes? > Further, I am trying to set up qmail as the MTA. Qmail apparantly > needs svscan from the daemontools port to be running. My rc.local > calls /usr/local/bin/svscanboot& at system startup, but when I do > 'ps -waux | grep svscan', I get nothing. A few qmail processes are > however running. How do I get svscan to start ? RTFM for qmail, I guess. I only know about Exim - http://www.exim.org ;) Seriously though, if you look at /usr/local/etc/rc.d/svscan.sh, you'll probably see that you need to add the following to /etc/rc.conf: svscan_enable="YES" If you do that, you need to edit rc.local and remove that svscan entry. It's my guess, sir. > My rc.conf, inetd.conf, hosts and /usr/local/etc/rc.d/svscan.sh files are attached. They did not get attached, as is protocol on most lists. You need to include them in-line in the message body. -Wash http://www.netmeister.org/news/learn2quote.html -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Goldenstern's Rules: (1) Always hire a rich attorney (2) Never buy from a rich salesman.