From owner-freebsd-questions@FreeBSD.ORG Fri Dec 3 17:42: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 A081B16A4CE for ; Fri, 3 Dec 2004 17:42:33 +0000 (GMT) Received: from av11-2-sn4.m-sp.skanova.net (av11-2-sn4.m-sp.skanova.net [81.228.10.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95EF543D1D for ; Fri, 3 Dec 2004 17:42:32 +0000 (GMT) (envelope-from ertr1013@student.uu.se) Received: by av11-2-sn4.m-sp.skanova.net (Postfix, from userid 502) id 9989537E4C; Fri, 3 Dec 2004 18:42:31 +0100 (CET) Received: from smtp4-2-sn4.m-sp.skanova.net (smtp4-2-sn4.m-sp.skanova.net [81.228.10.180]) by av11-2-sn4.m-sp.skanova.net (Postfix) with ESMTP id 86CF637E42 for ; Fri, 3 Dec 2004 18:42:31 +0100 (CET) Received: from falcon.midgard.homeip.net (h201n1fls24o1048.bredband.comhem.se [212.181.162.201]) by smtp4-2-sn4.m-sp.skanova.net (Postfix) with SMTP id 59B4137E47 for ; Fri, 3 Dec 2004 18:42:31 +0100 (CET) Received: (qmail 94613 invoked by uid 1001); 3 Dec 2004 17:42:31 -0000 Date: Fri, 3 Dec 2004 18:42:30 +0100 From: Erik Trulsson To: Alan Curtis Message-ID: <20041203174230.GA94530@falcon.midgard.homeip.net> Mail-Followup-To: Alan Curtis , freebsd-questions@freebsd.org References: <08CF99C0-454D-11D9-B83F-000A959EB894@ieee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <08CF99C0-454D-11D9-B83F-000A959EB894@ieee.org> User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: starting netatalk 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: Fri, 03 Dec 2004 17:42:33 -0000 On Fri, Dec 03, 2004 at 12:01:54PM -0500, Alan Curtis wrote: > I am trying to use netatalk-2.0.1 on FreeBSD 4.10-RELEASE. > > I can start afpd manually by > > /usr/local/sbin/afpd -s /usr/local/etc/AppleVolumes.system -f > /usr/local/etc/AppleVolumes.default > > and can access the share from my Mac OS X machine. > > There is a script /usr/local/etc/rc.d/netatalk.sh that is supposed to > start afpd at startup. I cannot get that to work. > > I tried adding a netatalk.conf file with afpd="yes". I tried editing > the netatalk.sh file line > > afpd_enable=${afpd_enable-"NO"} > > to > > afpd_enable=${afpd_enable-"YES"} > > and a number of other things. But as I obviously don't know what I'm > doing, I thought I'd ask. You shouldn't modify the netatalk.sh file. Just add the following lines to /etc/rc.conf netatalk_enable="YES" atalkd_enable="YES" papd_enable="YES" afpd_enable="YES" and the /usr/local/etc/rc.d/netatalk.sh startup script should start things fine. (You might not need all of the above, if you don't want to start all the services.) See rc.subr(8) for some more information on how such startup-scripts work. -- Erik Trulsson ertr1013@student.uu.se