Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2005 19:28:53 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        freebsd-questions@freebsd.org
Cc:        manish jain <goodredhat@yahoo.com>
Subject:   Re: Newbie problems with svscan and arp
Message-ID:  <20051216162853.GB33413@ns2.wananchi.com>
In-Reply-To: <20051216152303.46157.qmail@web34006.mail.mud.yahoo.com>
References:  <20051216152303.46157.qmail@web34006.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* 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    <wash@wananchi.com>
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051216162853.GB33413>