From owner-freebsd-questions Thu Apr 9 21:02:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA23686 for freebsd-questions-outgoing; Thu, 9 Apr 1998 21:02:17 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA23629 for ; Thu, 9 Apr 1998 21:02:09 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.7) with ESMTP id AAA29882; Fri, 10 Apr 1998 00:43:42 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199804092343.AAA29882@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Matt White cc: freebsd-questions@FreeBSD.ORG Subject: Re: Samba and NetaTalk Snafu? In-reply-to: Your message of "Thu, 09 Apr 1998 08:09:53 EDT." <199804091211.IAA01174@newton.bunnynet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 10 Apr 1998 00:43:42 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I have had a weird problem for the past few months since moving my server > from Linux to FreeBSD. > > Clients can only connect via Samba when our PPP connection to the > Internet is up. If the PPP connection is not up when the clients attempt > to connect to the server the attempt will simply time out after a few > minutes with the connection never being made. However, as soon as I bring > up the PPP connection, clients can connect almost instantly without > problems. > > This was annoying, but we knew how to work around it so it hasn't been > much of a problem. > > However, now we're trying to allow Macintosh clients to connect to the > server as well. The server will appear in the Chooser (under both > AppleShare for file sharing and LaserWriter 8 for it's printer), but when > the clients attempt to connect once again the connection times out and > nothing is done. However, this time, the problem cannot be solved by > bringing up the PPP connection. > > At boot time the server "freezes" at the netatalk initialization stage, > and eventually times out. (After about 30 seconds.) When afpd tries to > fire up it dies with the following error: > > Apr 9 07:49:10 newton afpd[1094]: Can't register newton:AFPServer@* > > ...and when papd attempts to start up I get this error: > > Apr 9 08:02:10 newton papd[1108]: can't register newton:LaserWriter@* > > Some system information: > > - Pentium 166 > - 32MB RAM > - FreeBSD 2.2.5 from the November 1997 CD's (very few patches have been > installed) > - NE2000 NIC > > Our network is setup in the 10.3.2.0/24 range. TCP/IP will always work in > and out of the server. > > The server is doing PPP aliasing. (Which is where I think the problem may > ultimately lie.) > > Any suggestions, comments, jabs? =) Are you using the same IP for the tun interface ? Perhaps you need an IP alias on the loopback interface - something like ifconfig_lo0_alias0="inet 10.3.2.1 netmask 0xffffffff" in /etc/rc.conf. > -- > Matt White > s012mrw@discover.wright.edu -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message