From owner-freebsd-questions@FreeBSD.ORG Fri Oct 21 14:46:43 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 4541216A41F for ; Fri, 21 Oct 2005 14:46:43 +0000 (GMT) (envelope-from ronny.machado@cajalosandes.cl) Received: from mail.cajalosandes.cl (dmz.cajalosandes.cl [200.11.68.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28DC043D45 for ; Fri, 21 Oct 2005 14:46:40 +0000 (GMT) (envelope-from ronny.machado@cajalosandes.cl) Received: from quizapu.ccaf.andes(10.23.1.31) by putana.cajalosandes.cl via smtp id 70df_5a77fa24_4241_11da_9473_0014221140b8; Fri, 21 Oct 2005 11:45:43 -0300 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Fri, 21 Oct 2005 11:47:24 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Procedures Thread-Index: AcXWU2tgi8yexXq/QsecPRSa+XSn3wAAz7dw From: "Ronny Machado C." To: "Erik Norgaard" 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:46:43 -0000 Thanks Erik...very helpful advices... ronny -----Mensaje original----- De: Erik Norgaard [mailto:norgaard@math.ku.dk] Enviado el: Viernes, 21 de Octubre de 2005 10:23 Para: Ronny Machado C. CC: freebsd-questions@freebsd.org Asunto: Re: Procedures 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=20 /usr/local/etc/rc.d, if it's executable and ends in .sh it will be=20 run at startup. Alternatively try to create your script so it uses /etc/rc.subr -=20 see the other startup scripts for samples - and enable it in=20 /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=20 > it by means of kldload emu10k1, it worked but I can't get it to=20 > work. Honestly I haven't configured MYKERNEL since I still don't=20 > understand the process. No need to build a kernel, just load the right modules. I don't=20 know which is right for your card, but you can try them one by=20 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=20 > failure or they are normal, and if the noip problem is produced=20 > 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=20 not registered your host. Maybe it expired becuase your script=20 that updates no-ip didn't run too long? Cheers, Erik