From owner-freebsd-questions@FreeBSD.ORG Fri Oct 21 14:22:44 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 090F216A41F for ; Fri, 21 Oct 2005 14:22:44 +0000 (GMT) (envelope-from norgaard@math.ku.dk) Received: from imf.math.ku.dk (fw.math.ku.dk [130.225.103.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 672D743D46 for ; Fri, 21 Oct 2005 14:22:43 +0000 (GMT) (envelope-from norgaard@math.ku.dk) Received: from imf.math.ku.dk (localhost [127.0.0.1]) by imf.math.ku.dk (Postfix) with ESMTP id 7400B1B4AF; Fri, 21 Oct 2005 16:22:40 +0200 (CEST) Received: from shannon.math.ku.dk (shannon.math.ku.dk [130.225.103.12]) by imf.math.ku.dk (Postfix) with ESMTP; Fri, 21 Oct 2005 16:22:40 +0200 (CEST) Date: Fri, 21 Oct 2005 16:22:40 +0200 (CEST) From: Erik Norgaard To: "Ronny Machado C." In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Procedures 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, 21 Oct 2005 14:22:44 -0000 On Fri, 21 Oct 2005, Ronny Machado C. wrote: > * How can I get some daemons working at boot time? In Linux you can do it via rc.* directories and S* scripts, but in freeBSD I don't know how, I've put scripts in rc.d but they don't execute at boot time, Is there a way to do it via rc.conf? Two options: The easy one is to put your script in /usr/local/etc/rc.d, if it's executable and ends in .sh it will be run at startup. Alternatively try to create your script so it uses /etc/rc.subr - see the other startup scripts for samples - and enable it in /etc/rc.conf > * When I do a "ps -fe | grep some-process" I don't get any answer, so I can't realise if a process is running, I've got to do a top to get to it I use 'ps -ax' > * My sound card is a Sound Blaster Live!, I've tried to load > it by means of kldload emu10k1, it worked but I can't get it to > work. Honestly I haven't configured MYKERNEL since I still don't > understand the process. No need to build a kernel, just load the right modules. I don't know which is right for your card, but you can try them one by one. They are all named snd_ > * How can I list the modules in the kernel? kldstat > * I'd like to know if the following messages are due to some > failure or they are normal, and if the noip problem is produced > by the ppp warnings > Oct 18 12:22:13 nostromo noip2[707]: Can't gethostbyname for dynupdate.no-ip.com > Oct 18 12:22:13 nostromo noip2[707]: Can't get our visible IP address from dynupdate.no-ip.com > Oct 18 12:23:01 nostromo ppp[217]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 > Oct 18 12:25:06 nostromo ppp[217]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 > Oct 18 12:27:11 nostromo ppp[217]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 Dunno, I suspect that you can't do name lookups or that no-ip has not registered your host. Maybe it expired becuase your script that updates no-ip didn't run too long? Cheers, Erik